BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmt_rwmutex

Detailed Description

Outline

Purpose

Provide a platform-independent RW mutex class.

Deprecated:
Use bslmt_readerwritermutex instead.

Classes

See also
bslmt_readerwritermutex, bslmt_readerwriterlock, bslmt_readlockguard, bslmt_writelockguard

Description

This component provides a class, bslmt::RWMutex, that defines a platform-independent RW mutex. An RW mutex provides for a shared "read" lock that may be held simultaneously by any number of threads, and a "write" lock that is exclusive (i.e., it may be held by only one thread at a time). The "write" lock is also exclusive with the "read" lock, so that no threads may hold a "read" lock while the "write" lock is held, and vice versa.

Usage

This section illustrates intended use of this component.

Example 1: Basic Usage

TBD