Definition in file tx6.c.
Go to the source code of this file.
Compounds | |
struct | node |
Functions | |
void * | thread_func (void *arg) |
int | main (void) |
Variables | |
pthread_mutex_t | mtx = PTHREAD_MUTEX_INITIALIZER |
pthread_cond_t | cond = PTHREAD_COND_INITIALIZER |
node * | head |
|
Definition at line 57 of file tx6.c. References cond, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_null, ec_rv, head, mtx, node::n_next, node::n_number, pthread_cancel(), pthread_cond_signal(), pthread_create(), pthread_join(), pthread_mutex_lock(), pthread_mutex_unlock(), sleep(), and thread_func(). |
|
Definition at line 33 of file tx6.c. References cond, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_rv, head, mtx, node::n_next, node::n_number, pthread_cond_wait(), pthread_mutex_lock(), and pthread_mutex_unlock(). Referenced by main(). |
|
Definition at line 25 of file tx6.c. Referenced by main(), and thread_func(). |
|
|
|
Definition at line 24 of file tx6.c. Referenced by main(), and thread_func(). |