On Thu, Apr 12, 2012 at 6:26 AM, Mo Libden <[email protected]> wrote: > Wow. If memory serves, rfork() availability was a feature. > Now it is gone... Any reasons to share please? > > It allowed creation of interesting types of processes, > awesome flexibility regarding share of memory space > and/or file handle tables.
It was added in 1996, but as of OpenBSD 5.1 there were *no* programs in base and exactly *one* in ports that used it at all. That one in ports is lang/go, which will be trivially converted to use __tfork. So, rfork provided lots of awesome flexibility...which no one found a good use for. It served a good purpose by providing a hook for rthreads development, but at this point it was just increasing the complexity of the kernel. Philip Guenther

