Export (0) Print
Expand All

critical_section::~critical_section Destructor

Destroys a critical section.

~critical_section();

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.

Header: concrt.h

Namespace: concurrency

Show:
© 2014 Microsoft