Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2000 08:32:33 -0800
From:      Cedric Berger <cedric@wireless-networks.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        smp@FreeBSD.ORG
Subject:   Six-Lock? (was Re: Netgraph and SMP)
Message-ID:  <3A2D18A1.48C89595@wireless-networks.com>
References:  <200012050130.SAA16944@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, Thanks for the pointer.

I guess I (and many people) use use the term reader/writer lock for
exactly the "SIX-lock" mechanism you describes. In fact, I always
thought that whether or not readers stop entering the lock when a 
writer request it is a matter of "lock policy". 
(You can even imagine any mixed policy where new readers are allowed 
to enter when a write is pending to improve throughoutput, but only
for during a limited time to avoid writer starvation)

Cedric

Terry Lambert wrote:
> 
> > How is this SIX-pack lock any different than a standard reader-writer lock?
> 
> Actually, here is a tutorial from HP, with pictures:
> 
>         http://jazz.external.hp.com/training/sqltables/c5s17.html
> 
>                                         Terry Lambert
>                                         terry@lambert.org
> ---
> Any opinions in this posting are my own and not those of my present
> or previous employers.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-smp" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2D18A1.48C89595>