priority inheritance policy.
More...
#include <futex.hpp>
|
| static void | lock (std::atomic_uint32_t &futex, int flags) noexcept |
| | lock the futex.
|
| |
| static bool | tryLock (std::atomic_uint32_t &futex) noexcept |
| | try to lock the futex.
|
| |
| static void | unlock (std::atomic_uint32_t &futex, int flags) noexcept |
| | unlock the futex.
|
| |
priority inheritance policy.
◆ lock()
| static void join::PrioInherit::lock |
( |
std::atomic_uint32_t & | futex, |
|
|
int | flags ) |
|
inlinestaticnoexcept |
lock the futex.
- Parameters
-
| futex | futex word. |
| flags | futex flags. |
◆ tryLock()
| static bool join::PrioInherit::tryLock |
( |
std::atomic_uint32_t & | futex | ) |
|
|
inlinestaticnoexcept |
try to lock the futex.
- Parameters
-
- Returns
- true if locked, false otherwise.
◆ unlock()
| static void join::PrioInherit::unlock |
( |
std::atomic_uint32_t & | futex, |
|
|
int | flags ) |
|
inlinestaticnoexcept |
unlock the futex.
- Parameters
-
| futex | futex word. |
| flags | futex flags. |
The documentation for this class was generated from the following file: