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
qfutex_mac_p.h File Reference

(d2368cde70062bbaa9db463d76cd135dccb55e23)

#include <qdeadlinetimer.h>
#include <qtsan_impl.h>
#include <private/qglobal_p.h>
+ Include dependency graph for qfutex_mac_p.h:

Go to the source code of this file.

Namespaces

namespace  QtDarwinFutex
 

Macros

#define UL_COMPARE_AND_WAIT   1
 
#define UL_COMPARE_AND_WAIT_SHARED   3
 
#define UL_COMPARE_AND_WAIT64   5
 
#define UL_COMPARE_AND_WAIT64_SHARED   6
 
#define ULF_WAKE_ALL   0x00000100
 
#define ULF_WAKE_THREAD   0x00000200
 
#define ULF_WAKE_ALLOW_NON_OWNER   0x00000400
 
#define ULF_WAKE_ALL   0x00000100
 
#define ULF_WAKE_THREAD   0x00000200
 
#define ULF_WAKE_ALLOW_NON_OWNER   0x00000400
 
#define ULF_NO_ERRNO   0x01000000
 

Functions

 __attribute ((__weak__)) extern int __ulock_wait2(uint32_t operation
 
bool QtDarwinFutex::futexAvailable ()
 
template<typename Atomic >
uint32_t QtDarwinFutex::baseOperation (Atomic &)
 
template<typename Atomic >
int QtDarwinFutex::do_wait (Atomic &futex, typename Atomic::Type expectedValue, QDeadlineTimer timer)
 
template<typename Atomic >
void QtDarwinFutex::futexWait (Atomic &futex, typename Atomic::Type expectedValue)
 
template<typename Atomic >
bool QtDarwinFutex::futexWait (Atomic &futex, typename Atomic::Type expectedValue, QDeadlineTimer timer)
 
template<typename Atomic >
void QtDarwinFutex::futexWakeAll (Atomic &futex)
 
template<typename Atomic >
void QtDarwinFutex::futexWakeOne (Atomic &futex)
 

Variables

voidaddr
 
void uint64_t value
 
void uint64_t uint64_t timeout
 
void uint64_t uint64_t uint64_t value2
 
void uint64_t wake_value
 

Macro Definition Documentation

◆ UL_COMPARE_AND_WAIT

#define UL_COMPARE_AND_WAIT   1

Definition at line 53 of file qfutex_mac_p.h.

Referenced by QtDarwinFutex::baseOperation().

◆ UL_COMPARE_AND_WAIT64

#define UL_COMPARE_AND_WAIT64   5

Definition at line 55 of file qfutex_mac_p.h.

Referenced by QtDarwinFutex::baseOperation().

◆ UL_COMPARE_AND_WAIT64_SHARED

#define UL_COMPARE_AND_WAIT64_SHARED   6

Definition at line 56 of file qfutex_mac_p.h.

◆ UL_COMPARE_AND_WAIT_SHARED

#define UL_COMPARE_AND_WAIT_SHARED   3

Definition at line 54 of file qfutex_mac_p.h.

◆ ULF_NO_ERRNO

#define ULF_NO_ERRNO   0x01000000

Definition at line 75 of file qfutex_mac_p.h.

Referenced by QtDarwinFutex::baseOperation().

◆ ULF_WAKE_ALL [1/2]

#define ULF_WAKE_ALL   0x00000100

Definition at line 61 of file qfutex_mac_p.h.

Referenced by QtDarwinFutex::futexWakeAll().

◆ ULF_WAKE_ALL [2/2]

#define ULF_WAKE_ALL   0x00000100

Definition at line 61 of file qfutex_mac_p.h.

◆ ULF_WAKE_ALLOW_NON_OWNER [1/2]

#define ULF_WAKE_ALLOW_NON_OWNER   0x00000400

Definition at line 63 of file qfutex_mac_p.h.

◆ ULF_WAKE_ALLOW_NON_OWNER [2/2]

#define ULF_WAKE_ALLOW_NON_OWNER   0x00000400

Definition at line 63 of file qfutex_mac_p.h.

◆ ULF_WAKE_THREAD [1/2]

#define ULF_WAKE_THREAD   0x00000200

Definition at line 62 of file qfutex_mac_p.h.

◆ ULF_WAKE_THREAD [2/2]

#define ULF_WAKE_THREAD   0x00000200

Definition at line 62 of file qfutex_mac_p.h.

Function Documentation

◆ __attribute()

__attribute ( (__weak__) )

Variable Documentation

◆ addr

Definition at line 45 of file qfutex_mac_p.h.

◆ timeout

void uint64_t uint64_t timeout

Definition at line 46 of file qfutex_mac_p.h.

◆ value

void uint64_t value

Definition at line 45 of file qfutex_mac_p.h.

◆ value2

void uint64_t uint64_t uint64_t value2

Definition at line 46 of file qfutex_mac_p.h.

Referenced by if(), myMin(), QKdPointFinder::operator()(), qMakePair(), qSwap(), and swap().

◆ wake_value

void uint64_t wake_value

Definition at line 48 of file qfutex_mac_p.h.