JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers — header-only, RTTI-free, and concurrency-friendly.
Loading...
Searching...
No Matches
jh::sync::strong_unique_lock< Mutex > Class Template Referencefinal

Strong exclusive lock adapter. More...

#include <jh/synchronous/strong_lock.h>

Public Member Functions

 strong_unique_lock (Mutex &m)
 strong_unique_lock (const strong_unique_lock &)=delete
strong_unique_lock & operator= (const strong_unique_lock &)=delete

Detailed Description

template<jh::concepts::basic_lockable Mutex>
class jh::sync::strong_unique_lock< Mutex >

Strong exclusive lock adapter.

Requires only exclusive locking capability. A sequentially-consistent fence is inserted after acquisition and before release.


The documentation for this class was generated from the following file: