Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Destroys a critical section.
_CRTIMP ~critical_section();
Remarks
It is expected that the lock is no longer held when the destructor runs. Allowing the critical section to destruct with the lock still held results in undefined behavior.
Requirements
Header: concrt.h
Namespace: Concurrency