Product SiteDocumentation Site

8.57. SysRequestMutexSem


>>-SysRequestMutexSem(handle-+----------+-)--------------------><
                             +-,timeout-+

Requests a mutex semaphore. SysRequestMutexSem returns the WaitForSingleObject return code.
Parameters:
handle
A handle returned from a previous SysCreateMutexSem call.
timeout
The time, in milliseconds, to wait on the semaphore. The default timeout is an infinite wait.
Return codes:
0
No errors.
Other
An error occurred. On Windows, a Windows System Error code (Section 8.1, “A Note on Error Codes”) is returned. This may be one of the following, but could be others.
6
Invalid handle.
103
Too many requests.
121
Error timeout.