#include <ogcsys.h>
#include <gccore.h>
#include <ogc/cond.h>
#include <retro_inline.h>
Go to the source code of this file.
|
#define | OSThread lwp_t |
|
#define | OSCond lwpq_t |
|
#define | OSThreadQueue lwpq_t |
|
#define | OSInitMutex(mutex) LWP_MutexInit(mutex, 0) |
|
#define | OSLockMutex(mutex) LWP_MutexLock(mutex) |
|
#define | OSUnlockMutex(mutex) LWP_MutexUnlock(mutex) |
|
#define | OSTryLockMutex(mutex) LWP_MutexTryLock(mutex) |
|
#define | OSInitCond(cond) LWP_CondInit(cond) |
|
#define | OSWaitCond(cond, mutex) LWP_CondWait(cond, mutex) |
|
#define | OSInitThreadQueue(queue) LWP_InitQueue(queue) |
|
#define | OSSleepThread(queue) LWP_ThreadSleep(queue) |
|
#define | OSJoinThread(thread, val) LWP_JoinThread(thread, val) |
|
#define | OSCreateThread(thread, func, intarg, ptrarg, stackbase, stacksize, priority, attrs) LWP_CreateThread(thread, func, ptrarg, stackbase, stacksize, priority) |
|
#define | STACKSIZE (8 * 1024) |
|
|
static INLINE int | pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) |
|
static INLINE pthread_t | pthread_self (void) |
|
static INLINE int | pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) |
|
static INLINE int | pthread_mutex_destroy (pthread_mutex_t *mutex) |
|
static INLINE int | pthread_mutex_lock (pthread_mutex_t *mutex) |
|
static INLINE int | pthread_mutex_unlock (pthread_mutex_t *mutex) |
|
static INLINE void | pthread_exit (void *retval) |
|
static INLINE int | pthread_detach (pthread_t thread) |
|
static INLINE int | pthread_join (pthread_t thread, void **retval) |
|
static INLINE int | pthread_mutex_trylock (pthread_mutex_t *mutex) |
|
static INLINE int | pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) |
|
static INLINE int | pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) |
|
static INLINE int | pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *attr) |
|
static INLINE int | pthread_cond_signal (pthread_cond_t *cond) |
|
static INLINE int | pthread_cond_broadcast (pthread_cond_t *cond) |
|
static INLINE int | pthread_cond_destroy (pthread_cond_t *cond) |
|
int | pthread_equal (pthread_t t1, pthread_t t2) |
|
◆ OSCond
◆ OSCreateThread
#define OSCreateThread |
( |
|
thread, |
|
|
|
func, |
|
|
|
intarg, |
|
|
|
ptrarg, |
|
|
|
stackbase, |
|
|
|
stacksize, |
|
|
|
priority, |
|
|
|
attrs |
|
) |
| LWP_CreateThread(thread, func, ptrarg, stackbase, stacksize, priority) |
◆ OSInitCond
◆ OSInitMutex
◆ OSInitThreadQueue
◆ OSJoinThread
◆ OSLockMutex
◆ OSSleepThread
◆ OSThread
◆ OSThreadQueue
◆ OSTryLockMutex
◆ OSUnlockMutex
◆ OSWaitCond
◆ STACKSIZE
#define STACKSIZE (8 * 1024) |
◆ pthread_attr_t
◆ pthread_cond_t
◆ pthread_condattr_t
◆ pthread_mutex_t
◆ pthread_mutexattr_t
◆ pthread_t
◆ pthread_cond_broadcast()
◆ pthread_cond_destroy()
◆ pthread_cond_init()
◆ pthread_cond_signal()
◆ pthread_cond_timedwait()
◆ pthread_cond_wait()
◆ pthread_create()
◆ pthread_detach()
◆ pthread_equal()
◆ pthread_exit()
◆ pthread_join()
◆ pthread_mutex_destroy()
◆ pthread_mutex_init()
◆ pthread_mutex_lock()
◆ pthread_mutex_trylock()
◆ pthread_mutex_unlock()
◆ pthread_self()