Export (0) Print
Expand All

reader_writer_lock::unlock Method

Unlocks the reader-writer lock based on who locked it, reader or writer.

void unlock();

If there are writers waiting on the lock, the release of the lock will always go to the next writer in FIFO order. This lock is biased towards writers and can starve readers under a continuous load of writers.

Header: concrt.h

Namespace: concurrency

© 2014 Microsoft