Lines Matching refs:worker_config
28 struct worker_config;
30 typedef void (*signal_func)(struct worker_config* c, int* flag);
31 typedef int (*wait_func)(struct worker_config* c, const int* flag);
33 typedef struct worker_config {
43 } worker_config;
45 void worker_config_init(worker_config* wc,
64 void worker_config_destroy(worker_config* wc) {
71 /* arg is a worker_config.
75 worker_config* c = arg;
82 static void condvar_signal(worker_config* c, int* flag) {
106 static int condvar_wait(worker_config* c, const int* flag) {
128 worker_config wc;
147 worker_config wc;
166 static int condvar_timedwait(worker_config* c, const int* flag) {
192 worker_config wc;
211 worker_config wc;
230 worker_config wc;