32 #ifndef DAEMON_WORKER_H 33 #define DAEMON_WORKER_H void worker_wait(lock_basic_type *lock, cond_basic_type *condition)
worker_type * worker_create(allocator_type *allocator, int num, worker_id type)
void worker_notify_all(lock_basic_type *lock, cond_basic_type *condition)
lock_basic_type worker_lock
void worker_notify(lock_basic_type *lock, cond_basic_type *condition)
void worker_cleanup(worker_type *worker)
enum task_id_enum task_id
void worker_start(worker_type *worker)
void worker_wait_timeout(lock_basic_type *lock, cond_basic_type *condition, time_t timeout)
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)
allocator_type * allocator