Pyrogenesis
13997
|
#include "precompiled.h"
#include "lib/sysdep/os/win/wposix/wpthread.h"
#include <new>
#include <process.h>
#include "lib/sysdep/cpu.h"
#include "lib/posix/posix_filesystem.h"
#include "lib/sysdep/os/win/wposix/wposix_internal.h"
#include "lib/sysdep/os/win/wposix/wtime.h"
#include "lib/sysdep/os/win/wseh.h"
#include "lib/sysdep/os/win/winit.h"
Go to the source code of this file.
Classes | |
struct | FuncAndArg |
Variables | |
static const size_t | TLS_LIMIT = 64 |
static const size_t | MAX_DTORS = 4 |
struct { | |
pthread_key_t key | |
void(* dtor )(void *) | |
} | dtors [MAX_DTORS] |
|
static |
|
static |
Definition at line 483 of file wpthread.cpp.
|
static |
Definition at line 221 of file wpthread.cpp.
|
static |
Definition at line 295 of file wpthread.cpp.
Definition at line 43 of file wpthread.cpp.
Definition at line 368 of file wpthread.cpp.
|
static |
Definition at line 61 of file wpthread.cpp.
int pthread_cancel | ( | pthread_t | thread | ) |
Definition at line 670 of file wpthread.cpp.
int pthread_create | ( | pthread_t * | thread_id, |
const void * | attr, | ||
void *(*)(void *) | func, | ||
void * | arg | ||
) |
Definition at line 636 of file wpthread.cpp.
Definition at line 69 of file wpthread.cpp.
Definition at line 48 of file wpthread.cpp.
int pthread_getschedparam | ( | pthread_t | thread, |
int * | policy, | ||
struct sched_param * | param | ||
) |
Definition at line 88 of file wpthread.cpp.
void* pthread_getspecific | ( | pthread_key_t | key | ) |
Definition at line 184 of file wpthread.cpp.
int pthread_join | ( | pthread_t | thread, |
void ** | value_ptr | ||
) |
Definition at line 679 of file wpthread.cpp.
int pthread_key_create | ( | pthread_key_t * | key, |
void(*)(void *) | dtor | ||
) |
Definition at line 146 of file wpthread.cpp.
int pthread_key_delete | ( | pthread_key_t | key | ) |
Definition at line 173 of file wpthread.cpp.
int pthread_mutex_destroy | ( | pthread_mutex_t * | m | ) |
Definition at line 312 of file wpthread.cpp.
int pthread_mutex_init | ( | pthread_mutex_t * | m, |
const pthread_mutexattr_t * | |||
) |
Definition at line 323 of file wpthread.cpp.
pthread_mutex_t pthread_mutex_initializer | ( | ) |
Definition at line 305 of file wpthread.cpp.
int pthread_mutex_lock | ( | pthread_mutex_t * | m | ) |
Definition at line 329 of file wpthread.cpp.
int pthread_mutex_timedlock | ( | pthread_mutex_t * | m, |
const struct timespec * | abs_timeout | ||
) |
Definition at line 358 of file wpthread.cpp.
int pthread_mutex_trylock | ( | pthread_mutex_t * | m | ) |
Definition at line 338 of file wpthread.cpp.
int pthread_mutex_unlock | ( | pthread_mutex_t * | m | ) |
Definition at line 347 of file wpthread.cpp.
int pthread_mutexattr_destroy | ( | pthread_mutexattr_t * | attr | ) |
Definition at line 278 of file wpthread.cpp.
int pthread_mutexattr_gettype | ( | const pthread_mutexattr_t * | attr, |
int * | type | ||
) |
Definition at line 283 of file wpthread.cpp.
int pthread_mutexattr_init | ( | pthread_mutexattr_t * | attr | ) |
Definition at line 273 of file wpthread.cpp.
int pthread_mutexattr_settype | ( | pthread_mutexattr_t * | attr, |
int | type | ||
) |
Definition at line 289 of file wpthread.cpp.
int pthread_once | ( | pthread_once_t * | once, |
void(*)() | init_routine | ||
) |
Definition at line 80 of file wpthread.cpp.
pthread_t pthread_self | ( | ) |
Definition at line 74 of file wpthread.cpp.
int pthread_setschedparam | ( | pthread_t | thread, |
int | policy, | ||
const struct sched_param * | param | ||
) |
Definition at line 104 of file wpthread.cpp.
int pthread_setspecific | ( | pthread_key_t | key, |
const void * | value | ||
) |
Definition at line 210 of file wpthread.cpp.
int sem_close | ( | sem_t * | sem | ) |
Definition at line 429 of file wpthread.cpp.
int sem_destroy | ( | sem_t * | sem | ) |
Definition at line 454 of file wpthread.cpp.
int sem_init | ( | sem_t * | sem, |
int | pshared, | ||
unsigned | value | ||
) |
Definition at line 444 of file wpthread.cpp.
int sem_msgwait_np | ( | sem_t * | sem | ) |
Definition at line 557 of file wpthread.cpp.
sem_t* sem_open | ( | const char * | name, |
int | oflag, | ||
... | |||
) |
Definition at line 373 of file wpthread.cpp.
int sem_post | ( | sem_t * | sem | ) |
Definition at line 461 of file wpthread.cpp.
Definition at line 520 of file wpthread.cpp.
int sem_unlink | ( | const char * | name | ) |
Definition at line 438 of file wpthread.cpp.
int sem_wait | ( | sem_t * | sem | ) |
Definition at line 468 of file wpthread.cpp.
|
static |
Definition at line 612 of file wpthread.cpp.
WINIT_REGISTER_CRITICAL_INIT | ( | wpthread_Init | ) |
|
static |
Definition at line 702 of file wpthread.cpp.
void(* dtor)(void *) |
Definition at line 141 of file wpthread.cpp.
struct { ... } dtors[MAX_DTORS] |
pthread_key_t key |
Definition at line 140 of file wpthread.cpp.
|
static |
Definition at line 137 of file wpthread.cpp.
|
static |
Definition at line 131 of file wpthread.cpp.