FACT++
1.0
|
Go to the source code of this file.
Macros | |
#define | DIMLIB |
Functions | |
void * | dim_tcpip_thread (void *tag) |
void * | dim_dtq_thread (void *tag) |
void | dim_init () |
void | dim_stop () |
dim_long | dim_start_thread (void *(*thread_ast)(void *), dim_long tag) |
int | dim_stop_thread (dim_long t_id) |
int | dim_set_scheduler_class (int pclass) |
int | dim_get_scheduler_class (int *pclass) |
int | dim_set_priority (int threadId, int prio) |
int | dim_get_priority (int threadId, int *prio) |
void | ignore_sigpipe () |
void | pipe_sig_handler (int num) |
void | dim_init_threads () |
void | dim_stop_threads () |
int | dim_wait (void) |
void | dim_lock () |
void | dim_unlock () |
void | dim_wait_cond () |
void | dim_signal_cond () |
Variables | |
pthread_t | IO_thread = 0 |
pthread_t | ALRM_thread = 0 |
pthread_t | INIT_thread = 0 |
pthread_t | MAIN_thread = 0 |
sem_t | DIM_INIT_Sema |
int | INIT_count = 0 |
int | DIM_THR_init_done = 0 |
pthread_t | Dim_thr_locker = 0 |
int | Dim_thr_counter = 0 |
pthread_mutex_t | Global_DIM_mutex = PTHREAD_MUTEX_INITIALIZER |
pthread_mutex_t | Global_cond_mutex = PTHREAD_MUTEX_INITIALIZER |
pthread_cond_t | Global_cond = PTHREAD_COND_INITIALIZER |
int | Global_cond_counter = 0 |
int | Global_cond_waiters = 0 |