[Mono-list] Mono.Unix.Native.Syscall.fork()

Jonathan Pryor jonpryor at vt.edu
Sun Oct 5 16:11:14 EDT 2008

On Sun, 2008-10-05 at 03:18 -0700, Sixes wrote:
> Gonzalo Paniagua Javier-5 wrote:
> > 
> > A daemon in .NET is a service. You can create your own service by
> > deriving from System.ServiceProcess.ServiceBase and then use
> > mono-service (http://go-mono.com/docs/index.aspx?link=man%
> > 3Amono-service(1)).
> > 
> Thanks for that, I'd missed mono-service.  But that still doesn't explain
> the lack of a fork() call.  Is there a reason why it's not included?


Threading + fork(2) == pain unless you know *everything* that's going on
in your process, which is adamantly not the case in Mono (anyone can
create a thread at any time for any purpose, and Mono won't know
anything about what the thread is there to do...).

 - Jon

More information about the Mono-list mailing list