Handling CTRL_LOGOFF_EVENT

Sergey Okhapkin sos@lab254.bellcore.com
Fri Feb 19 10:36:00 GMT 1999


>I submitted a fix a while ago to the winsup module regarding bash hanging
when
>I rebooted my NT machine.  The problem was that the cygwin signal handler
was
>returning TRUE after receiving a CTRL_CLOSE_EVENT or CTRL_SHUTDOWN_EVENT
window
>event, so Windows thought that cygwin programs refused to exit when you
were


It's very important to _ignore_ (return TRUE) CTRL_LOGOFF_EVENT to not
terminate cygwin apps running as services on user's logoff!

Sergey Okhapkin, http://www.lexa.ru/sos
Piscataway, NJ



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list