[#BloombergLP-bsls-BslLockImpl_pthread] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::BslLockImpl_pthread :relfileprefix: ../../ :mrdocs: This class provides a non‐recursive pthread mutex for intra‐process use. == Synopsis Declared in `<bsls_bsllockimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class BslLockImpl_pthread; ---- == Description This `class` implements a light‐weight wrapper of an OS‐level mutex to support intra‐process synchronization. The mutex implemented by this class is _non_‐recursive. Note that `BslLockImpl_pthread` is _not_ intended for direct use by client code; it is meant for internal use only. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/BslLockImpl_pthread/2constructor.adoc[`BslLockImpl_pthread`] [.small]#[constructor]# | Create a lock object initialized to the unlocked state. | xref:BloombergLP/bsls/BslLockImpl_pthread/2destructor.adoc[`~BslLockImpl_pthread`] [.small]#[destructor]# | Destroy this lock object. The behavior is undefined unless this object is in the unlocked state. | xref:BloombergLP/bsls/BslLockImpl_pthread/lock.adoc[`lock`] | Acquire the lock on this object. | xref:BloombergLP/bsls/BslLockImpl_pthread/unlock.adoc[`unlock`] | Release the lock on this object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#