Calling RegisterServiceProcess from setsid ?

Pierre A. Humblet Pierre.Humblet@ieee.org
Wed Jun 4 01:43:00 GMT 2003


Corinna and all,

What do you think of the idea of calling RegisterServiceProcess
(a function specific to 9x) from setsid()?
It has no effect (AFAIK) if the program isn't a service, and 
setsid is the ideal spot where it should be called.
The only "drawback" is that the service won't terminate at logout
time, but I know of no service where that is desired.

Pierre



More information about the Cygwin-developers mailing list