#include <rll/concepts/threading.h>
template <typename T>
basic_lockable concept
Basic lockable concept.
Template parameters | |
---|---|
T | Type to check. |
Describes the minimal characteristics of a lockable object.
- Blocks until a lock can be acquired for the current execution agent (thread, process, task). If an exception is thrown, no lock is acquired.
- Releases the non-shared lock held by the execution agent. Throws no exceptions.