Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Platform C (11/20/15)
Description
The default implementation of these functions uses nanosleep which can return with EINTR, but this return value is not handled. To be strictly correct, the functions must be written as loops which evaluate whether the intended interval has elapsed if woken with EINTR and continuing with the 'rmtp' interval.
In addition, these function log to std::cout on a non-zero return from nanosleep, which hardly seems helpful.