(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:
Ron Koenderink 2005-03-15 18:19:07 +00:00
parent d8938a1605
commit 9227a314c5
4 changed files with 71 additions and 30 deletions

View file

@ -105,6 +105,7 @@ typedef struct {
typedef struct loc_Thread_t empth_t;
typedef struct loc_Sem_t empth_sem_t;
void empth_request_shutdown(void);
#endif
int empth_init(char **ctx, int flags);