|
RetroArch
|
#include <stdlib.h>#include <errno.h>#include "asm.h"#include "mutex.h"#include "lwp_threadq.h"#include "lwp_objmgr.h"#include "lwp_config.h"#include "cond.h"Classes | |
| struct | _cond_st |
Macros | |
| #define | LWP_OBJTYPE_COND 5 |
| #define | LWP_CHECK_COND(hndl) |
Typedefs | |
| typedef struct _cond_st | cond_st |
Functions | |
| int | clock_gettime (struct timespec *tp) |
| void | timespec_subtract (const struct timespec *tp_start, const struct timespec *tp_end, struct timespec *result) |
| void | __lwp_cond_init () |
| static __inline__ cond_st * | __lwp_cond_open (cond_t cond) |
| static __inline__ void | __lwp_cond_free (cond_st *cond) |
| static cond_st * | __lwp_cond_allocate () |
| static s32 | __lwp_cond_waitsupp (cond_t cond, mutex_t mutex, u64 timeout, u8 timedout) |
| static s32 | __lwp_cond_signalsupp (cond_t cond, u8 isbroadcast) |
| s32 | LWP_CondInit (cond_t *cond) |
| Initialize condition variable. More... | |
| s32 | LWP_CondWait (cond_t cond, mutex_t mutex) |
| Wait on condition variable. More... | |
| s32 | LWP_CondSignal (cond_t cond) |
| Signal a specific thread waiting on this condition variable to wake up. More... | |
| s32 | LWP_CondBroadcast (cond_t cond) |
| Broadcast all threads waiting on this condition variable to wake up. More... | |
| s32 | LWP_CondTimedWait (cond_t cond, mutex_t mutex, const struct timespec *abstime) |
| Timed wait on a conditionvariable. More... | |
| s32 | LWP_CondDestroy (cond_t cond) |
| Destroy condition variable, release all threads and handles blocked on that condition variable. More... | |
Variables | |
| lwp_objinfo | _lwp_cond_objects |
| #define LWP_CHECK_COND | ( | hndl | ) |
| #define LWP_OBJTYPE_COND 5 |
|
static |
| int clock_gettime | ( | struct timespec * | tp | ) |
Broadcast all threads waiting on this condition variable to wake up.
| [in] | cond | handle to the cond_t structure |
Destroy condition variable, release all threads and handles blocked on that condition variable.
| [in] | cond | handle to the cond_t structure |
Initialize condition variable.
| [out] | cond | pointer to the cond_t handle |
Signal a specific thread waiting on this condition variable to wake up.
| [in] | cond | handle to the cond_t structure |
Timed wait on a conditionvariable.
| [in] | cond | handle to the cond_t structure |
| [in] | mutex | handle to the mutex_t structure |
| [in] | abstime | pointer to a timespec structure holding the abs time for the timeout. |
Wait on condition variable.
| [in] | cond | handle to the cond_t structure |
| [in] | mutex | handle to the mutex_t structure |
| void timespec_subtract | ( | const struct timespec * | tp_start, |
| const struct timespec * | tp_end, | ||
| struct timespec * | result | ||
| ) |
| lwp_objinfo _lwp_cond_objects |
1.8.15