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.
Exported from
Modifiers
open
Arguments
| object | An instance of <synchronization>. |
| timeout: | An instance of type-union(<false>, <real>). Time-out interval. If #f, the time-out interval never elapses. Otherwise, the <real> value corresponds to the desired interval in seconds. The default is #f. |
Values
Summary
| Blocks until a synchronization object is available. |
| |
| |