23 #ifndef __LIBRETRO_SDK_RTHREADS_H__ 24 #define __LIBRETRO_SDK_RTHREADS_H__ 39 #ifdef HAVE_THREAD_STORAGE 40 typedef unsigned sthread_tls_t;
202 #ifdef HAVE_THREAD_STORAGE 217 bool sthread_tls_create(sthread_tls_t *tls);
224 bool sthread_tls_delete(sthread_tls_t *tls);
234 void *sthread_tls_get(sthread_tls_t *tls);
241 bool sthread_tls_set(sthread_tls_t *tls,
const void *
data);
sthread_t * sthread_create(void(*thread_func)(void *), void *userdata)
Definition: rthreads.c:163
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
scond_t * scond_new(void)
Definition: rthreads.c:416
Definition: rthreads.c:88
static int cond(LexState *ls)
Definition: lparser.c:1177
typedefRETRO_BEGIN_DECLS struct sthread sthread_t
Definition: rthreads.h:35
Definition: rthreads.c:78
void sthread_join(sthread_t *thread)
Definition: rthreads.c:288
Definition: rthreads.c:106
void slock_free(slock_t *lock)
Definition: rthreads.c:358
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
signed __int64 int64_t
Definition: stdint.h:135
slock_t * slock_new(void)
Definition: rthreads.c:328
int sthread_detach(sthread_t *thread)
Definition: rthreads.c:266
void slock_unlock(slock_t *lock)
Definition: rthreads.c:396
bool sthread_isself(sthread_t *thread)
Definition: rthreads.c:307
void slock_lock(slock_t *lock)
Definition: rthreads.c:379
sthread_t * sthread_create_with_priority(void(*thread_func)(void *), void *userdata, int thread_priority)
Definition: rthreads.c:188