join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::PrioNone Class Reference

no priority inheritance policy. More...

#include <futex.hpp>

Static Public Member Functions

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.
 

Detailed Description

no priority inheritance policy.

Member Function Documentation

◆ lock()

static void join::PrioNone::lock ( std::atomic_uint32_t & futex,
int flags )
inlinestaticnoexcept

lock the futex.

Parameters
futexfutex word.
flagsfutex flags.

◆ tryLock()

static bool join::PrioNone::tryLock ( std::atomic_uint32_t & futex)
inlinestaticnoexcept

try to lock the futex.

Parameters
futexfutex word.
Returns
true if locked, false otherwise.

◆ unlock()

static void join::PrioNone::unlock ( std::atomic_uint32_t & futex,
int flags )
inlinestaticnoexcept

unlock the futex.

Parameters
futexfutex word.
flagsfutex flags.

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