From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Threads: Sewing badges of honor onto a Kernel From: Fco.J.Ballesteros In-Reply-To: <20040301105948.C29577@cackle.proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Mon, 1 Mar 2004 10:04:55 +0100 Topicbox-Message-UUID: 066160d0-eacd-11e9-9e20-41e7f4b1d025 > Surely message passing differs from pointer passing by the mere > addition of synchronisation?! Maybe you don't even need that: msg = mallocmsg(...); sendp(chan, msg); Is it a pointer? Sure. Is it a message? Sure. Do we need locks if we transfer ownership (which is an abstract concept)? Not sure. IMHO, Linus really needs to read /sys/src/cmd/acme/xfid.c