OpenDNSSEC-signer  1.3.15
Data Fields
worker_struct Struct Reference

#include <worker.h>

Collaboration diagram for worker_struct:
Collaboration graph
[legend]

Data Fields

allocator_typeallocator
 
int thread_num
 
ods_thread_type thread_id
 
struct engine_structengine
 
task_typetask
 
task_id working_with
 
worker_id type
 
time_t clock_in
 
size_t jobs_appointed
 
size_t jobs_completed
 
size_t jobs_failed
 
int sleeping
 
int waiting
 
int need_to_exit
 
cond_basic_type worker_alarm
 
lock_basic_type worker_lock
 
int worker_locked
 

Detailed Description

Definition at line 53 of file worker.h.

Field Documentation

allocator_type* worker_struct::allocator

Definition at line 54 of file worker.h.

Referenced by worker_cleanup(), and worker_create().

time_t worker_struct::clock_in

Definition at line 61 of file worker.h.

Referenced by worker_create().

struct engine_struct* worker_struct::engine

Definition at line 57 of file worker.h.

Referenced by engine_start_drudgers(), engine_stop_drudgers(), and worker_create().

size_t worker_struct::jobs_appointed

Definition at line 62 of file worker.h.

Referenced by rrset_queue(), worker_create(), and worker_sleep_unless().

size_t worker_struct::jobs_completed

Definition at line 63 of file worker.h.

Referenced by worker_create(), and worker_sleep_unless().

size_t worker_struct::jobs_failed

Definition at line 64 of file worker.h.

Referenced by worker_create(), and worker_sleep_unless().

int worker_struct::need_to_exit
int worker_struct::sleeping

Definition at line 65 of file worker.h.

Referenced by worker_create(), worker_sleep(), worker_sleep_unless(), and worker_wakeup().

task_type* worker_struct::task

Definition at line 58 of file worker.h.

Referenced by worker_create().

ods_thread_type worker_struct::thread_id

Definition at line 56 of file worker.h.

Referenced by engine_start_drudgers(), and engine_stop_drudgers().

int worker_struct::thread_num

Definition at line 55 of file worker.h.

Referenced by rrset_queue(), worker_create(), worker_sleep_unless(), and worker_wakeup().

worker_id worker_struct::type

Definition at line 60 of file worker.h.

Referenced by worker_create(), worker_sleep_unless(), worker_start(), and worker_wakeup().

int worker_struct::waiting

Definition at line 66 of file worker.h.

Referenced by worker_create().

cond_basic_type worker_struct::worker_alarm
lock_basic_type worker_struct::worker_lock
int worker_struct::worker_locked

Definition at line 70 of file worker.h.

Referenced by rrset_queue(), worker_create(), worker_sleep(), worker_sleep_unless(), and worker_wakeup().

task_id worker_struct::working_with

Definition at line 59 of file worker.h.

Referenced by worker_create().


The documentation for this struct was generated from the following file: