Qt 4.8
Functions
qmutex_unix.cpp File Reference
#include "qplatformdefs.h"
#include "qmutex.h"
#include "qstring.h"
#include "qatomic.h"
#include "qmutex_p.h"
#include <errno.h>
#include <mach/mach.h>
#include <mach/task.h>

Go to the source code of this file.

Functions

static int _q_futex (volatile int *addr, int op, int val, const struct timespec *timeout, int *addr2, int val2)
 

Function Documentation

◆ _q_futex()

static int _q_futex ( volatile int *  addr,
int  op,
int  val,
const struct timespec *  timeout,
int *  addr2,
int  val2 
)
inlinestatic

Definition at line 97 of file qmutex_unix.cpp.

Referenced by QMutexPrivate::wait().

98 {
99  return syscall(SYS_futex, addr, op, val, timeout, addr2, val2);
100 }