Light‐weight, portable wrapper of an OS‐level mutex.
Synopsis
Declared in <bsls_bsllock.h>
class BslLock;
Description
This class implements a light‐weight, portable wrapper of an OS‐level mutex to support intra‐process synchronization. The mutex implemented by this class is non‐recursive. Note that BslLock is not intended for direct use by client code; it is meant for internal use only.
Member Functions
Name |
Description |
|
Create a lock object initialized to the unlocked state. |
|
Destroy this lock object. The behavior is undefined unless this object is in the unlocked state. |
Acquire the lock on this object. |
|
Release the lock on this object. |
Created with MrDocs