[9fans] Threading Model Questions

2008-05-20 Thread palazzol
Hello, I've been looking into the Bell Labs CSP-style threading model, trying a few test programs, and watching the Russ Cox and Rob Pike movies. I have a few of questions. 1) Are there any valid criticisms to this approach? Everyone seems to agree it is superior to "lower-level" models, bu

Re: [9fans] Threading Model Questions

2008-05-20 Thread palazzol
Woops, sorry - I actually meant the stuff referenced in the lock(2) man page, which looks like it's not part of libthread. -Frank -- Original message -- From: erik quanstrom <[EMAIL PROTECTED]> > > 4) Finally, it looks like libthread has support for a lot of non

[9fans] channel_lock

2008-07-14 Thread palazzol
Hello, I have been looking and the implementation of channels/alt in Plan9, and I have a question. Does lock()/unlock() work across procs (not just threads)? For example, in channel.c there is a static Lock *channel_lock. Does this provide exclusive to channel data across procs? I assume y