reader_writer_lock::try_lock_read Method

Attempts to acquire the reader-writer lock as a reader without blocking.

_CRTIMP bool try_lock_read();

If the lock was acquired, the value true; otherwise, the value false.

Header: concrt.h

Namespace: Concurrency

Community Additions

ADD
Show: