From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 29 Jan 2009 15:43:14 +0100 From: Mechiel Lukkien To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20090129144314.GA29249@knaagkever.ueber.net> References: <1d5d51400901251734o5e7e74a9v13d30e65e5fd27f9@mail.gmail.com> <509071940901261001p608017fdjbd9e377f3f555e02@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <509071940901261001p608017fdjbd9e377f3f555e02@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: [9fans] plan9port openbsd 4.4 Topicbox-Message-UUID: 8dfe71fc-ead4-11e9-9d60-3106f5b1d025 On Mon, Jan 26, 2009 at 01:01:55PM -0500, Anthony Sorace wrote: > if you want to work on it some, this message talks about getting > inferno working on OpenBSD using the rthreads library (the pending > replacement for the userland threads russ talked about): > > http://www.xs4all.nl/~mechiel/inferno/openbsd43-old.html > > you could likely follow a similar path for p9p if you're so inclined. i don't recall the details, but i think those instructions let you do too much. i.e. i think the rfork-like function has been in openbsd for longer than rthreads, and the instructions & patch at the url don't really use the rthreads library. btw, rthreads on openbsd had been stalled, there does seem to be a dev woroking on that now. as for the error of the original poster: perhaps your process limit (or other limit) is too low? inferno spawns quite a few procs, which can make me hit the default process limit (defined in /etc/login.conf). mjl > > inferno has since gained an explicit OpenBSD port (for those > directions, remove "-old" from the above URL), but i'm not sure > whether that involves working around the userland thread model or > explicitly relying on rthreads.