Changeset 47:84720ab03248 in rrlib_thread


Ignore:
Timestamp:
04.10.2020 23:30:19 (2 weeks ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Phase:
public
Message:

Adapts to change in rrlib_time (additional time mode 'steady initial system time')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tThread.cpp

    r42 r47  
    452452  rrlib::time::tTimeMode time_mode = rrlib::time::GetTimeMode(); 
    453453  tThread& t = CurrentThread(); 
    454   if (time_mode == rrlib::time::tTimeMode::SYSTEM_TIME || (!use_application_time)) 
     454  if (time_mode == rrlib::time::tTimeMode::SYSTEM_TIME || (!use_application_time) || time_mode == rrlib::time::tTimeMode::STEADY_INITIAL_SYSTEM_TIME) 
    455455  { 
    456456    if (sleep_for < std::chrono::milliseconds(400)) 
Note: See TracChangeset for help on using the changeset viewer.