An exception safe RAII wrapper that can be used to acquire reader_writer_lock
lock objects as a reader.
More...
#include <concrt.h>
An exception safe RAII wrapper that can be used to acquire reader_writer_lock
lock objects as a reader.
Constructs a scoped_lock_read
object and acquires the reader_writer_lock
object passed in the _Reader_writer_lock parameter as a reader. If the lock is held by another thread as a writer or there are pending writers, this call will block.
- Parameters
-
_CONCRTIMP Concurrency::reader_writer_lock::scoped_lock_read::~scoped_lock_read |
( |
| ) |
|
Destroys a scoped_lock_read
object and releases the lock supplied in its constructor.
Concurrency::reader_writer_lock::scoped_lock_read::scoped_lock_read |
( |
const scoped_lock_read & |
| ) |
|
|
private |
reader_writer_lock& Concurrency::reader_writer_lock::scoped_lock_read::_M_reader_writer_lock |
|
private |
The documentation for this class was generated from the following file: