Provide a platform-independent RW mutex class.
More...
Namespaces |
namespace | bslmt |
Detailed Description
- Outline
-
-
- Purpose:
- Provide a platform-independent RW mutex class.
- Deprecated:
- Use bslmt_readerwritermutex instead.
-
- Classes:
-
- See also:
- Component bslmt_readerwritermutex, Component bslmt_readerwriterlock, Component bslmt_readlockguard, Component 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:
- TBD