there is lock(2) in the public inferno distribution.  the implementation is 
amusing.
things like counting semaphores have been too, though not distributed,
but these things are not used as much as channels in Limbo programming.
--- Begin Message ---
On Fri, Mar 24, 2006 at 11:52:38AM +1100, Bruce Ellis wrote:
> a bit like ...
> 
>       semnew:         fn(n: int): ref Sem;
>       semacquire:     fn(s: ref Sem);
>       semcanacq:      fn(s: ref Sem): int;
>       semrelease:     fn(s: ref Sem);
> 
> in ozinferno

Interesting...  Say, is ozinferno available?
Sounds like it might be interesting to poke at it.

--- End Message ---

Reply via email to