• Denis Krjuchkov's avatar
    main: Add Windows Service support · e8ebb1af
    Denis Krjuchkov authored
    I've added PIPE_EVENT_SHUTDOWN because calling g_main_loop_quit() do not work when called from another thread.
    Main thread was sleeping in g_poll() so I needed some way to wake it up.
    
    By some strange reason call close(event_pipe[0]) in event_pipe_deinit() hangs.
    In current implementation that code never reached so that was not a problem :-)
    I've added a conditional to leave event_pipe[0] open on Win32.
    e8ebb1af
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...