Logo Search packages:      
Sourcecode: csound version File versions  Download package

PUBLIC int csoundWaitThreadLock ( void *  lock,
size_t  milliseconds 

Waits on the indicated monitor object for the indicated period. The function returns either when the monitor object is notified, or when the period has elapsed, whichever is sooner; in the first case, zero is returned. If 'milliseconds' is zero and the object is not notified, the function will return immediately with a non-zero status.

Definition at line 576 of file threads.c.

References csoundWaitThreadLock().

Referenced by csoundWaitThreadLock(), CsoundPerformanceThread::Perform(), and CsoundPerformanceThread::QueueMessage().

    return 0;

Generated by  Doxygen 1.6.0   Back to index