7 ms·
Note that the problem you describe for process is not a fundamental design choice. For instance, FreeBSD has added such API. http://www.freebsd.org/cgi/man.cgi
by enjolras 13y ago
Note that the problem you describe for process is not a fundamental design choice. For instance, FreeBSD has added such API.
http://www.freebsd.org/cgi/man.cgi?query=pdfork http://www.freebsd.org/cgi/man.cgi?query=pdfork
- CountSessine 13y agoI wonder if this is going to make it to OSX at some point, given the commonality between OSX and FreeBSD?
- astrange 13y agoOS X has provided such APIs for a while - you can create processes using posix_spawn rather than fork, and monitor them with kqueues. That said, if you're writing an app you might be able to go higher level and use XPC services, which can be much less pain.