![]() |
• System Utilities |
|
API Links
Developer Links
|
Lock::AcquireExclusiveDefined in:
Acquires exclusive access to a lock.
C4Threads.hPrototype
Description
The AcquireExclusive function acquires exclusive access to a lock. If exclusive or shared access to the lock has already been acquired by another thread at the time this function is called, then the calling thread blocks until all access to the lock has been released by other threads.During the time that a lock is acquired with exclusive access, all other attempts to acquire the lock with either exclusive or shared access will block. Exclusive access to a lock must be relinquished by calling the Lock::ReleaseExclusive function when the calling thread no longer needs the lock.
See Also
|