projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upsie, usleep is 10^6 times smaller than sleep
[citadel.git]
/
citadel
/
citserver.c
diff --git
a/citadel/citserver.c
b/citadel/citserver.c
index 211cefe8850ef4e64aee28c1e3e64aecc04aa28b..0c8955a8a2b3fb10386b589818e6a3618aff6088 100644
(file)
--- a/
citadel/citserver.c
+++ b/
citadel/citserver.c
@@
-216,7
+216,7
@@
void master_cleanup(int exitcode) {
struct CleanupFunctionHook *fcn;
static int already_cleaning_up = 0;
struct CleanupFunctionHook *fcn;
static int already_cleaning_up = 0;
- if (already_cleaning_up) while(1) usleep(1000);
+ if (already_cleaning_up) while(1) usleep(1000
000
);
already_cleaning_up = 1;
/* Run any cleanup routines registered by loadable modules */
already_cleaning_up = 1;
/* Run any cleanup routines registered by loadable modules */