NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | tds_raw_mutex |
struct | tds_condition |
struct | tds_thread |
Macros | |
#define | TDS_RAW_MUTEX_INITIALIZER {} |
#define | tds_raw_cond_signal(cond) FreeTDS_Condition_not_compiled |
#define | tds_raw_cond_wait(cond, mtx) FreeTDS_Condition_not_compiled |
#define | tds_raw_cond_timedwait(cond, mtx, timeout_sec) FreeTDS_Condition_not_compiled |
#define | TDS_THREAD_PROC_DECLARE(name, arg) void *name(void *arg) |
#define | tds_thread_create(ret, proc, arg) FreeTDS_Thread_not_compiled |
#define | tds_thread_create_detached(proc, arg) FreeTDS_Thread_not_compiled |
#define | tds_thread_join(th, ret) FreeTDS_Thread_not_compiled |
#define | tds_mutex_free(x) do {} while (0) |
#define | tds_mutex_init(x) tds_mutex_noop() |
#define | tds_mutex_lock(x) tds_mutex_noop() |
#define | tds_mutex_trylock(x) tds_mutex_noop() |
#define | tds_mutex_unlock(x) do {} while (0) |
Typedefs | |
typedef int | tds_thread_id |
typedef void *(* | tds_thread_proc) (void *arg) |
Functions | |
static void | tds_raw_mutex_lock (tds_raw_mutex *mtx) |
static int | tds_raw_mutex_trylock (tds_raw_mutex *mtx) |
static void | tds_raw_mutex_unlock (tds_raw_mutex *mtx) |
static int | tds_raw_mutex_init (tds_raw_mutex *mtx) |
static void | tds_raw_mutex_free (tds_raw_mutex *mtx) |
static int | tds_raw_cond_init (tds_condition *cond) |
static int | tds_raw_cond_destroy (tds_condition *cond) |
static tds_thread_id | tds_thread_get_current_id (void) |
static int | tds_thread_is_current (tds_thread_id th) |
static int | tds_mutex_noop (void) |
#define tds_mutex_init | ( | x | ) | tds_mutex_noop() |
#define tds_mutex_lock | ( | x | ) | tds_mutex_noop() |
#define tds_mutex_trylock | ( | x | ) | tds_mutex_noop() |
#define tds_raw_cond_signal | ( | cond | ) | FreeTDS_Condition_not_compiled |
#define tds_raw_cond_timedwait | ( | cond, | |
mtx, | |||
timeout_sec | |||
) | FreeTDS_Condition_not_compiled |
#define tds_raw_cond_wait | ( | cond, | |
mtx | |||
) | FreeTDS_Condition_not_compiled |
#define tds_thread_create | ( | ret, | |
proc, | |||
arg | |||
) | FreeTDS_Thread_not_compiled |
#define tds_thread_create_detached | ( | proc, | |
arg | |||
) | FreeTDS_Thread_not_compiled |
#define tds_thread_join | ( | th, | |
ret | |||
) | FreeTDS_Thread_not_compiled |
#define TDS_THREAD_PROC_DECLARE | ( | name, | |
arg | |||
) | void *name(void *arg) |
typedef int tds_thread_id |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 292 of file thread.h.
Referenced by tdsdump_off().
|
inlinestatic |
Definition at line 297 of file thread.h.
Referenced by current_thread_is_excluded().