diff options
| author | default <nobody@localhost> | 2024-01-08 08:38:25 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-01-08 08:38:25 +0100 |
| commit | b401cd23ff43a4afdcb3fad85f8c642680a82e95 (patch) | |
| tree | 1e5351817050c92188c88e4e6c075350d994fb38 /snac.h | |
| parent | 0289860d04ee11d8b00a6a2bd3c59ce6f0d7ea10 (diff) | |
Added some state flags for threads.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ typedef struct { time_t srv_start_time; /* start time */ int job_fifo_size; /* job fifo size */ int n_threads; /* number of configured threads */ + enum { THST_WAIT, THST_IN, THST_OUT, THST_STOP } th_state[MAX_THREADS]; } srv_state; void snac_log(snac *user, xs_str *str); |