Share via


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

See Also

Reference

critical_section Class

critical_section::lock Method

critical_section::try_lock Method