(service_stoppped,stop_service,loc_Ctrl_C_Handler,
empth_request_shutdown,loc_BlockMainThread,empth_init, service_ctrl_handler) [_WIN32]: Remove the Windows Build UI and replace with Ctrl-c signal trap. The shutdown event that was used for STOPPING the service is now used for both foreground and background (service) modes of operation. Also move the shutdown event from service code to empth_t library.
This commit is contained in:
parent
d8938a1605
commit
9227a314c5
4 changed files with 71 additions and 30 deletions
|
@ -445,7 +445,7 @@ extern int command(void);
|
|||
extern int recvclient(s_char *, int);
|
||||
|
||||
/* service.c */
|
||||
extern int service_stopped(void);
|
||||
extern void stop_service(void);
|
||||
/* more in service.h */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue