wclMutexAcquire(UInt32) Method |
Tries to acquire the mutex object during the given time-out
interval.
Namespace: wclSyncAssembly: wclCommon (in wclCommon.dll) Version: 7.13.7.0 (7.13.7.0)
Syntaxpublic uint Acquire(
uint Timeout
)
Public Function Acquire (
Timeout As UInteger
) As UInteger
public:
unsigned int Acquire(
unsigned int Timeout
)
Parameters
- Timeout UInt32
- The wait timeout value.
Return Value
UInt32 If the mutex acquired with success the returning value is
WAIT_OBJECT_0. If the thread that owned that mutex
has exited without releasing the mutex the returning value
is
WAIT_ABANDONED. If the time-out elapsed the
returning value is
WAIT_TIMEOUT. If the wait failed
the returning value is
WAIT_FAILED.
See Also