critical_section::unlock Method
Unlocks the critical section.
_CRTIMP void unlock();
Remarks
If the lock is not held by the calling thread, an improper_lock exception will be thrown.
Requirements
Header: concrt.h
Namespace: Concurrency
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Unlocks the critical section.
_CRTIMP void unlock();
If the lock is not held by the calling thread, an improper_lock exception will be thrown.
Header: concrt.h
Namespace: Concurrency