reader_writer_lock::scoped_lock Class
An exception safe RAII wrapper that can be used to acquire reader_writer_lock lock objects as a writer.
class scoped_lock;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a scoped_lock object and acquires the reader_writer_lock object passed in the _Reader_writer_lock parameter as a writer. If the lock is held by another thread, this call will block. |
|
Destroys a reader_writer_lock object and releases the lock supplied in its constructor. |
Inheritance Hierarchy
reader_writer_lock::scoped_lock
Requirements
Header: concrt.h
Namespace: Concurrency