On 01/06/2014 08:10 PM, Rémi Denis-Courmont wrote: > Sure, nanosleep() is allowed to use the monotonic clock, No, nanosleep is supposed to be based on CLOCK_REALTIME, if you want to use CLOCK_MONOTONIC, you have to use clock_nanosleep. -- Gilles.