This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Calling RegisterServiceProcess from setsid ?
- From: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- To: cygwin-developers at cygwin dot com
- Date: Tue, 03 Jun 2003 21:44:20 -0400
- Subject: Calling RegisterServiceProcess from setsid ?
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