(main,service_main) [_WIN32]: Fix config_file for WIN32.

(main,service_main,empth_exit) [_WIN32]: Add daemon flag.
Separate the debug_flag into two separate flags, one for
debugging (debug) and controlling the daemon processing
(daemon).
This commit is contained in:
Ron Koenderink 2005-03-06 19:53:14 +00:00
parent 830c171dd2
commit d1d7028fc7
4 changed files with 20 additions and 20 deletions

View file

@ -471,7 +471,7 @@ empth_exit(void)
if (pThread->bMainThread) {
/* The main line. Wait forever. */
while (1) {
if (!debug) {
if (daemon) {
if (service_stopped())
shutdwn(0);
Sleep(3);