VLC
4.0.0-dev
|
Macros | |
#define | FUTEX_WAKE_PRIVATE FUTEX_WAKE |
#define | FUTEX_WAIT_PRIVATE FUTEX_WAIT |
#define | FUTEX_WAIT_BITSET_PRIVATE FUTEX_WAIT_BITSET |
Functions | |
unsigned long | vlc_thread_id (void) |
Thread identifier. More... | |
static int | sys_futex (void *addr, int op, unsigned val, const struct timespec *to, void *addr2, int val3) |
static int | vlc_futex_wake (void *addr, int nr) |
static int | vlc_futex_wait (void *addr, unsigned flags, unsigned val, const struct timespec *to) |
void | vlc_atomic_notify_one (void *addr) |
Wakes up one thread on an address. More... | |
void | vlc_atomic_notify_all (void *addr) |
Wakes up all thread on an address. More... | |
void | vlc_atomic_wait (void *addr, unsigned val) |
Waits on an address. More... | |
int | vlc_atomic_timedwait (void *addr, unsigned val, vlc_tick_t deadline) |
Waits on an address with a time-out. More... | |
int | vlc_atomic_timedwait_daytime (void *addr, unsigned val, time_t deadline) |
#define FUTEX_WAIT_BITSET_PRIVATE FUTEX_WAIT_BITSET |
Referenced by vlc_futex_wait().
#define FUTEX_WAIT_PRIVATE FUTEX_WAIT |
#define FUTEX_WAKE_PRIVATE FUTEX_WAKE |
Referenced by vlc_futex_wake().
|
static |
Referenced by vlc_futex_wait(), and vlc_futex_wake().
|
static |
References FUTEX_WAIT_BITSET_PRIVATE, and sys_futex().
Referenced by vlc_atomic_timedwait(), vlc_atomic_timedwait_daytime(), and vlc_atomic_wait().
|
static |
References FUTEX_WAKE_PRIVATE, and sys_futex().
Referenced by vlc_atomic_notify_all(), and vlc_atomic_notify_one().