wait
wait |
Purpose
Synopsis
procedure wait
procedure wait(dur:integer)
Argument
dur
|
A duration in seconds or the constant
WAIT_INFINITE
|
Further information
This procedure suspends the execution of the caller until an event is available. The second form specifies a time limit: the processing is suspended for at most
dur seconds, the special value
WAIT_INFINITE is interpreted as an infinite duration. The behaviour of the procedure is undefined if the specified duration is smaller than 1 second.
Related topics
Module