[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


C.10 Timing Issues

During calls to cma_delay, pthread_delay_np, pthdexc_delay_np, cma_timed_cond_wait, pthread_cond_timed_wait, and pthdexc_cond_ timedwait, an application might return before the expiration of the entire time interval specified in the call with no evidence of a premature return (exception or return status). This early return is a problem with the internal Win32 behavior of WaitForSingleObject(). The return might be premature up to 0.05 seconds of what the desired delay was set for.