next up previous contents index
Next: Usage Rules Up: Thread Library Previous: Synchronization Operations

Delay

 

Delays the current thread for at least msec milliseconds. This is not a thread primitive, but a library routine built on top of semWait/semSignal. Note that the argument is in milliseconds, while the time argument to evSchedule (Section 5.2.1) is in microseconds.

void Delay(int msec)



Larry Peterson
Tue Jul 1 14:50:34 MST 1997