Changeset 2:ab6b230e7da2 in rrlib_thread


Ignore:
Timestamp:
06.07.2012 18:44:06 (7 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Fixed issue with gcc 4.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tLoopThread.cpp

    r0 r2  
    7575  last_cycle_time(), 
    7676  last_cycle_start(rrlib::time::cNO_TIME), 
    77   last_wait() 
     77  last_wait(rrlib::time::tDuration::zero()) 
    7878{ 
    7979} 
     
    118118        { 
    119119          RRLIB_LOG_PRINT(rrlib::logging::eLL_WARNING, "Waiting for ", rrlib::time::ToString(last_wait), ", as in last cycle, instead."); 
    120           Sleep(last_wait, use_application_time, last_cycle_start + cycle_time); 
     120          Sleep(last_wait, use_application_time); 
    121121        } 
    122122        else 
Note: See TracChangeset for help on using the changeset viewer.