[Mono-dev] System.Unix.Native.Syscall.fork is commented out
Avery Pennarun
apenwarr at gmail.com
Fri Nov 7 12:34:35 EST 2008
2008/11/5 Phil Garcia <phil at thinkedge.com>:
> In fact, threads were added to POSIX
> to cope with the limitations and inefficiencies of fork() and the
> programming model around it.
Of course, you could also say the same about running processes in
separate address spaces, which were eventually added to Windows
because having everything share the same unprotected memory space had
serious flaws. (Support for true, secure multiprocessing was arguably
added only with Windows NT, or at least Windows 95.)
I think it's safe to say that both threads and processes have their
place in the world. It would be pretty sweet if mono acquired a
"start-threadless" mode for situations like this, though. You could
just run the jit in the main thread and skip garbage collection
altogether during the startup phase.
Avery
More information about the Mono-devel-list
mailing list