9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Semaphores for libc Lock?
@ 2010-03-28  0:40 Venkatesh Srinivas
  2010-03-28  0:52 ` Federico G. Benavento
  0 siblings, 1 reply; 3+ messages in thread
From: Venkatesh Srinivas @ 2010-03-28  0:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

Hi,

In Russ Cox's and Sape Mullender's 2008 IWP9 paper on semaphores in Plan 9,
they suggest that semaphore (semacquire/semrelease)-based locks in libc were
better than the current spinning ones; they note that the locks would be
replaced in the distribution soon.

Is that still in the cards?

-- vs

[-- Attachment #2: Type: text/html, Size: 394 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Semaphores for libc Lock?
  2010-03-28  0:40 [9fans] Semaphores for libc Lock? Venkatesh Srinivas
@ 2010-03-28  0:52 ` Federico G. Benavento
  2010-03-28  0:56   ` Venkatesh Srinivas
  0 siblings, 1 reply; 3+ messages in thread
From: Federico G. Benavento @ 2010-03-28  0:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

http://plan9.bell-labs.com/magic/man2html/2/semacquire

On Sat, Mar 27, 2010 at 9:40 PM, Venkatesh Srinivas <me@acm.jhu.edu> wrote:
> Hi,
> In Russ Cox's and Sape Mullender's 2008 IWP9 paper on semaphores in Plan 9,
> they suggest that semaphore (semacquire/semrelease)-based locks in libc were
> better than the current spinning ones; they note that the locks would be
> replaced in the distribution soon.
> Is that still in the cards?
> -- vs
>



--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Semaphores for libc Lock?
  2010-03-28  0:52 ` Federico G. Benavento
@ 2010-03-28  0:56   ` Venkatesh Srinivas
  0 siblings, 0 replies; 3+ messages in thread
From: Venkatesh Srinivas @ 2010-03-28  0:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

Not quite what I was asking; I was asking about lock() / unlock() in libc
being changed to use semacquire/semrelease (the syscalls)...

-- vs

[-- Attachment #2: Type: text/html, Size: 172 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-28  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-28  0:40 [9fans] Semaphores for libc Lock? Venkatesh Srinivas
2010-03-28  0:52 ` Federico G. Benavento
2010-03-28  0:56   ` Venkatesh Srinivas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).