From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d190603092250u2dab6530y798fffcd99e5edf@mail.gmail.com> Date: Fri, 10 Mar 2006 17:50:44 +1100 From: "Bruce Ellis" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Plan9Ports libdraw open-in-same-window In-Reply-To: <3fab42bfaa9288c3dd261507296e1370@swtch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3fab42bfaa9288c3dd261507296e1370@swtch.com> Topicbox-Message-UUID: 113ccc66-ead1-11e9-9d60-3106f5b1d025 20 year old technology. it just works in inferno. brucee On 3/10/06, Russ Cox wrote: > > 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