Export (0) Print
Expand All

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;

Public Constructors

Name

Description

reader_writer_lock::scoped_lock::scoped_lock Constructor

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.

reader_writer_lock::scoped_lock::~scoped_lock Destructor

Destroys a reader_writer_lock object and releases the lock supplied in its constructor.

Header: concrt.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2014 Microsoft