On 30.09.10 10:10, Jeremya wrote:
In 1.2.1 I've noticed that the nanosleep call in wheeltimer.cpp does not
check for EINTR return code and retry the sleep if it has been
interrupted with EINTR. This potentially makes the wall_clock go faster?

No, because it is always recomputed based on the theoritical value and gettimeofday(). This mean that if we wanted to wait 20 ms, and have been interrupted after 10 ms, the next time interval computed will be 30 ms.

Is this an issue?
Only if SEMS gets flooded with signals, which should actually not happen.

Cheers
Raphael.
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to