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)