Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtFreeBSDFutex Namespace Reference

Functions

constexpr bool futexAvailable ()
 
template<typename Atomic >
int do_wait (Atomic &futex, typename Atomic::Type expectedValue, _umtx_time *tmp=nullptr)
 
template<typename Atomic >
void futexWait (Atomic &futex, typename Atomic::Type expectedValue)
 
template<typename Atomic >
bool futexWait (Atomic &futex, typename Atomic::Type expectedValue, QDeadlineTimer timer)
 
template<typename Atomic >
void futexWakeOne (Atomic &futex)
 
template<typename Atomic >
void futexWakeAll (Atomic &futex)
 

Function Documentation

◆ do_wait()

template<typename Atomic >
int QtFreeBSDFutex::do_wait ( Atomic & futex,
typename Atomic::Type expectedValue,
_umtx_time * tmp = nullptr )
inline

Definition at line 32 of file qfutex_freebsd_p.h.

References ret.

Referenced by futexWait(), and futexWait().

+ Here is the caller graph for this function:

◆ futexAvailable()

constexpr bool QtFreeBSDFutex::futexAvailable ( )
inlineconstexpr

Definition at line 29 of file qfutex_freebsd_p.h.

Referenced by QSemaphore::QSemaphore(), QSemaphore::~QSemaphore(), QSemaphore::acquire(), QSemaphore::available(), QSemaphore::release(), QSemaphore::tryAcquire(), and QSemaphore::tryAcquire().

+ Here is the caller graph for this function:

◆ futexWait() [1/2]

template<typename Atomic >
void QtFreeBSDFutex::futexWait ( Atomic & futex,
typename Atomic::Type expectedValue )
inline

Definition at line 50 of file qfutex_freebsd_p.h.

References do_wait().

Referenced by futexSemaphoreTryAcquire_loop().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ futexWait() [2/2]

template<typename Atomic >
bool QtFreeBSDFutex::futexWait ( Atomic & futex,
typename Atomic::Type expectedValue,
QDeadlineTimer timer )
inline

Definition at line 56 of file qfutex_freebsd_p.h.

References deadline, do_wait(), durationToTimespec(), and timer.

+ Here is the call graph for this function:

◆ futexWakeAll()

template<typename Atomic >
void QtFreeBSDFutex::futexWakeAll ( Atomic & futex)
inline

Definition at line 72 of file qfutex_freebsd_p.h.

Referenced by QSemaphore::release().

+ Here is the caller graph for this function:

◆ futexWakeOne()

template<typename Atomic >
void QtFreeBSDFutex::futexWakeOne ( Atomic & futex)
inline

Definition at line 67 of file qfutex_freebsd_p.h.