char name[8]
Name.
Definition: cond.h:25
s32 sysLwCondDestroy(sys_lwcond_t *lwcond)
Destroy a lightweight condition variable.
Lightweight condition variable attributes data structure.
Definition: cond.h:23
Lightweight mutex library.
struct sys_lwcond_attr sys_lwcond_attr_t
Lightweight condition variable attributes data structure.
s32 sysLwCondWait(sys_lwcond_t *lwcond, u64 timeout_usec)
Wait for a lightweight condition variable to be signaled.
s32 sysLwCondSignal(sys_lwcond_t *lwcond)
Signal a lightweight condition variable.
u32 lwcond_queue
Next element in waiting queue.
Definition: cond.h:19
s32 sysLwCondCreate(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attr_t *attr)
Create a lightweight condition variable.
Lightweight mutex data structure.
Definition: mutex.h:31
Lightweight condition variable data structure.
Definition: cond.h:16
s32 sysLwCondSignalAll(sys_lwcond_t *lwcond)
Signal a lightweight condition variable to all waiting PPU threads.
s32 sysLwCondSignalTo(sys_lwcond_t *lwcond, sys_ppu_thread_t thr)
Signal a lightweight condition variable to a specific PPU thread.
struct sys_lwcond sys_lwcond_t
Lightweight condition variable data structure.
sys_lwmutex_t * lwmutex
Associated lightweight mutex.
Definition: cond.h:18