Roxen.git/
server/
base_server/
configuration.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-03-05
2001-03-05 04:43:10 by Per Hedbor <ph@opera.com>
a5249e5a9a69c645932e7e99c89a029c7c64d0de (
9
lines) (+
7
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Now hopefully works without threads
Rev: server/base_server/configuration.pike:1.419
1:
// A vitual server's main configuration // Copyright © 1996 - 2000, Roxen IS.
-
constant cvs_version = "$Id: configuration.pike,v 1.
418
2001/
02
/
27
02
:
54
:
18
per Exp $";
+
constant cvs_version = "$Id: configuration.pike,v 1.
419
2001/
03
/
05
04
:
43
:
10
per Exp $";
#include <module.h> #include <module_constants.h> #include <roxen.h>
217:
{ if (mixed err = catch (mod && mod->stop && mod->stop())) report_error ("While stopping " + desc + ": " + describe_backtrace (err));
-
if (!--num_modules) modules_stopped->signal();
+
if (!--num_modules)
+
#ifdef
THREADS
+
modules_stopped->signal()
+
#endif
+
;
} void stop (void|int asynch)