From mboxrd@z Thu Jan 1 00:00:00 1970 From: palazzol@comcast.net To: 9fans@9fans.net Date: Mon, 14 Jul 2008 18:47:19 +0000 Message-Id: <071420081847.25641.487B9F36000AB7F2000064292200761064040196960E040E9F@comcast.net> Subject: [9fans] channel_lock Topicbox-Message-UUID: e686d270-ead3-11e9-9d60-3106f5b1d025 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 yes, just trying to make sure I'm understanding it correctly. I was expecting to see code which handles channel access "across procs" differently than channel access between threads "in the same proc", but I didn't see anything like that. Thanks, Frank