|
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.
|
Concept for counting reentrant (recursive) mutexes. More...
#include <jh/conceptual/mutex_like.h>
Concept for counting reentrant (recursive) mutexes.
A recursive mutex allows repeated locking by the same thread, maintaining an internal depth counter. It must be unlocked the same number of times as it was locked.
Examples:
std::recursive_mutex std::recursive_timed_mutex