atom feed8 messages in org.freebsd.freebsd-hackerslibthread 1:1 threads
FromSent OnAttachments
David LeimbachApr 22, 2005 8:41 am 
Julian ElischerApr 22, 2005 12:42 pm 
David LeimbachApr 22, 2005 3:01 pm 
Jas arlerrApr 23, 2005 5:09 am 
Lyndon NerenbergApr 23, 2005 5:09 am 
David LeimbachApr 23, 2005 7:30 am 
Julian ElischerApr 23, 2005 7:31 am 
Kostik BelousovApr 25, 2005 12:37 am 
Subject:libthread 1:1 threads
From:David Leimbach (dlei@gmail.com)
Date:Apr 23, 2005 7:30:04 am
List:org.freebsd.freebsd-hackers

On 4/22/05, Lyndon Nerenberg <lyn@orthanc.ca> wrote:

--On 2005-4-22 3:02 PM -0700 David Leimbach <dlei@gmail.com> wrote:

According to the man page, and plan 9 where rfork originated you can use it to modify an extant process. In fact you have to set the RFPROC flag to make a new process or all the changes apply to the current one.

Unfortunately the semantics of FreeBSD rfork() have diverted far enough from the original plan9 rfork() such that you can't consider it as the same call. This makes life miserable for things like running Inferno on FreeBSD.

Yes the latest Inferno snapshot is currently not so happy on FreeBSD. Charles Forsyth is working on getting it going again though [ I believe he's a vitanuova employee].

Inferno is pretty danged cool. Supporting it on FreeBSD would be a bonus. I've used it to do weird things like export my Mac OS X iDisk over an encrypted connection to a linux box.

I know of a University that uses Inferno in their Classics department so they can have a mostly OS agnostic grid. Windows, Linux, Mac OS X, Solaris, Irix and Plan 9 [and I think FreeBSD 4.x series] can all attach to the grid by running Inferno on top.

Dave

--lyndon