Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
explicit _CRTIMP scoped_lock_read(
reader_writer_lock& _Reader_writer_lock
);
Parameters
- _Reader_writer_lock
The reader_writer_lock object to acquire as a reader.
Requirements
Header: concrt.h
Namespace: Concurrency