diff options
| author | 2024-01-08 09:17:38 +0100 | |
|---|---|---|
| committer | 2024-01-08 09:17:38 +0100 | |
| commit | d05399986db1af7729554c7710f674551174364c (patch) | |
| tree | ed5614176910476c5cbb6940a4b9361cd49445c6 /snac.h | |
| parent | Renamed some thread states. (diff) | |
| download | snac2-d05399986db1af7729554c7710f674551174364c.tar.gz snac2-d05399986db1af7729554c7710f674551174364c.tar.xz snac2-d05399986db1af7729554c7710f674551174364c.zip | |
New state variable top_job_fifo_size.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -50,6 +50,7 @@ typedef struct { | |||
| 50 | int use_fcgi; /* FastCGI use on/off */ | 50 | int use_fcgi; /* FastCGI use on/off */ |
| 51 | time_t srv_start_time; /* start time */ | 51 | time_t srv_start_time; /* start time */ |
| 52 | int job_fifo_size; /* job fifo size */ | 52 | int job_fifo_size; /* job fifo size */ |
| 53 | int top_job_fifo_size; /* maximum job fifo size seen */ | ||
| 53 | int n_threads; /* number of configured threads */ | 54 | int n_threads; /* number of configured threads */ |
| 54 | enum { THST_WAIT, THST_IN, THST_QUEUE, THST_STOP } th_state[MAX_THREADS]; | 55 | enum { THST_WAIT, THST_IN, THST_QUEUE, THST_STOP } th_state[MAX_THREADS]; |
| 55 | } srv_state; | 56 | } srv_state; |