projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A couple of minor speed ups and the beginings of using signals in
[citadel.git]
/
citadel
/
server_main.c
diff --git
a/citadel/server_main.c
b/citadel/server_main.c
index 363c058cd35b2343850e83e0810f0f0347af97ae..5c507a578d3a12f5ed8130b334ab2920b66afc02 100644
(file)
--- a/
citadel/server_main.c
+++ b/
citadel/server_main.c
@@
-380,6
+380,8
@@
void go_threading(void)
while (CtdlThreadGetCount())
{
+ if (CT->signal)
+ exit_signal = CT->signal;
if (exit_signal)
CtdlThreadStopAll();
check_sched_shutdown();