32 #ifndef DAEMON_WORKER_H 33 #define DAEMON_WORKER_H
void worker_notify_all(lock_basic_type *lock, cond_basic_type *condition)
lock_basic_type worker_lock
void worker_cleanup(worker_type *worker)
enum task_id_enum task_id
void worker_start(worker_type *worker)
worker_type * worker_create(int num, worker_id type)
void worker_sleep_unless(worker_type *worker, time_t timeout)
void worker_wakeup(worker_type *worker)
enum worker_enum worker_id
cond_basic_type worker_alarm
ods_thread_type thread_id
void worker_sleep(worker_type *worker, time_t timeout)