summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorGravatar default2024-01-08 09:17:38 +0100
committerGravatar default2024-01-08 09:17:38 +0100
commitd05399986db1af7729554c7710f674551174364c (patch)
treeed5614176910476c5cbb6940a4b9361cd49445c6 /snac.h
parentRenamed some thread states. (diff)
downloadsnac2-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 9d2a0c9..4ac0db7 100644
--- a/snac.h
+++ b/snac.h
@@ -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;