From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3fab42bfaa9288c3dd261507296e1370@swtch.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] Plan9Ports libdraw open-in-same-window From: "Russ Cox" Date: Thu, 9 Mar 2006 22:35:23 -0500 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 10c5f6f4-ead1-11e9-9d60-3106f5b1d025 > I've been recycling the drawable, but I need to keep a cross-process > lock there; what's a good way to keep a lock in P9P? I didn't answer this. I don't know how to do a cross-process lock. Perhaps you could create a temporary file and fcntl lock it. Russ