aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/server.h b/src/server.h
index 37fdb13..9107b4c 100644
--- a/src/server.h
+++ b/src/server.h
@@ -12,13 +12,16 @@ struct settings {
};
struct server {
+ pthread_mutex_t server_mtx;
+ pthread_cond_t server_cv;
+
+ int stopping;
+
struct tcp_server tcp_server;
struct worker_queue worker_queue;
struct ci_queue ci_queue;
- pthread_mutex_t scheduler_mtx;
- pthread_cond_t scheduler_cv;
pthread_t scheduler;
};