Udostępnij za pośrednictwem


critical_section::~critical_section Destructor

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

See Also

Reference

critical_section Class