Changeset 206 in flair-src for trunk/lib/FlairCore/src/Thread_impl.cpp
- Timestamp:
- Jan 9, 2018, 11:43:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/Thread_impl.cpp
r202 r206 227 227 self->Err("Error rt_task_wait_period %s\n", strerror_r(-status, errorMsg, sizeof(errorMsg))); 228 228 } 229 //avoid spamming messages 230 /* 229 231 if (status == -ETIMEDOUT) { 230 232 self->Err("overrun: %lld\n", overruns_r); 231 } 233 }*/ 232 234 #else 233 235 self->SleepUntil(next_time); 234 236 Time current = GetTime(); 235 if(current>next_time+period) self->Err("overrun of %lld\n", current-next_time); 237 //avoid spamming messages 238 //if(current>next_time+period) self->Err("overrun of %lld\n", current-next_time); 236 239 while (next_time < current) { 237 240 next_time += period;
Note:
See TracChangeset
for help on using the changeset viewer.