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_shared_lock< Mutex > Class Template Referencefinal

Strong shared (reader) lock adapter. More...

#include <jh/synchronous/strong_lock.h>

Public Member Functions

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

Detailed Description

template<jh::concepts::shared_lockable Mutex>
class jh::sync::strong_shared_lock< Mutex >

Strong shared (reader) lock adapter.

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


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