(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:
parent
830c171dd2
commit
d1d7028fc7
4 changed files with 20 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue