9fans archive / 1997 / 09 / 72 /    prev next

From: Jan Hubicka hubicka@hor...
Subject: [9fans] XaoS - first useable version
Date: Thu, 11 Sep 1997 10:12:32 +0200

On Wed, Sep 10, 1997 at 06:11:59PM +0000, forsyth@cal... wrote:
> when describing the process synchronisation primitives,
> i forgot to mention rendezvous(2), which is the system
Yes, I already readed rendenzvous description. It looks like
really interesting call. I was thinking about implementation
of lock/wakeup mechanizm using it and it seems to be really
interesting puzzle. I will think about that. If there is
already code for that, I would welcome it too :)
> call to synchronise two processes.  given rendezvous,
> <lock.h>, and rfork, you should be able to write the little
> you need fairly easily.  processes can rendezvous to
> collect points without busy waiting on the spin lock.
> note that you should
> 	rfork(RFNAMEG)
> in main(), to ensure that you've got a separate space
> for the rendezvous values.  (why RFNAMEG? because that rendezvous
> space is tied to the name space in Plan 9; in Brazil it
> becomes a separate resource controlled by a distinct flag to rfork.)
OK. BTW is there any doc about brazil at the net? I saw just little
description, wich says that it will be, and it will be better,
but nothing more. Looking forward for it.

Honza

-- 
------------------------------------------------------------------------------
                   Have you browsed my www pages? Look at:
                       http://www.paru.cas.cz/~hubicka
      Koules-the game for Svgalib,X11 and OS/2,  Xonix-the game for X11
      czech documentation for linux index, original 2D computer art and
              funny 100 years old photos and articles are there!