Share via


reader_writer_lock::~reader_writer_lock Destructor

Destroys the reader_writer_lock object.

~reader_writer_lock();

Remarks

It is expected that the lock is no longer held when the destructor runs. Allowing the reader writer lock to destruct with the lock still held results in undefined behavior.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

reader_writer_lock Class