> Don't see where you read that?

The service control manager waits until the service stops or the specified 
preshutdown time-out value expires (this value can be set with the 
ChangeServiceConfig2 function). This control code should be used only in 
special circumstances, because a service that handles this notification

* blocks system shutdown *

until the service stops or the preshutdown time-out interval expires.

> Is that not better than abruptly terminating an sshd session, or abandoning 
> sending a large email?

Depends.  When you are ready to reboot you usually don't have anything 
important running by then.

Also, emails "abandoned" while sending will be re-sent, in most decent mailers.

Finally, when you do need the pre-shutdown option, you can specify it with 
cygrunsrv directly (-O, --preshutdown)
 -- no need to deal with any manual registry changes.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to