34 #ifndef DAEMON_WORKER_H
35 #define DAEMON_WORKER_H
151 condition, time_t timeout);
lock_basic_type worker_lock
allocator_type * allocator
void worker_start(worker_type *worker)
void worker_cleanup(worker_type *worker)
void worker_wait_timeout_locked(lock_basic_type *lock, cond_basic_type *condition, time_t timeout)
enum task_id_enum task_id
struct engine_struct * engine
void worker_wait(lock_basic_type *lock, cond_basic_type *condition)
void worker_sleep(worker_type *worker, time_t timeout)
void worker_notify_all(lock_basic_type *lock, cond_basic_type *condition)
void worker_wakeup(worker_type *worker)
enum worker_enum worker_id
void worker_sleep_unless(worker_type *worker, time_t timeout)
void worker_wait_locked(lock_basic_type *lock, cond_basic_type *condition)
cond_basic_type worker_alarm
worker_type * worker_create(allocator_type *allocator, int num, worker_id type)
void worker_wait_timeout(lock_basic_type *lock, cond_basic_type *condition, time_t timeout)
ods_thread_type thread_id
allocator_type * allocator
void worker_notify(lock_basic_type *lock, cond_basic_type *condition)