Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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