Open generic function
Blocks until a synchronization object is available.
wait-for object #key timeout => success
<synchronization>.
#f (the default), the time-out interval never elapses. Otherwise the value should be a <real>, corresponding to the desired interval in seconds.
<boolean>.
threads
threads
Blocks until a synchronization object is available.
This function is the basic blocking primitive of the Threads library. It blocks until object is available and synchronization can be achieved, or the timeout interval has expired. A non-blocking synchronization may be attempted by specifying a timeout of zero. Individual methods may adjust the state of the synchronization object on synchronization. The function returns #t if synchronization is achieved before the timeout interval elapses; otherwise it returns #f.