cvs commit: src/sys/contrib/ipfilter/netinet ip_auth.c
Darren Reed
darrenr at hub.freebsd.org
Sun Jul 3 01:00:23 GMT 2005
On Tue, Dec 28, 2004 at 10:45:37AM -0500, John Baldwin wrote:
> sx locks are not identical to Solaris rwlocks. Solaris rwlocks do priority
> propagation and can't be held across a condition variable type sleep. sx
> locks on the other hand are more like lockmgr() style locks in that they do
> not do priority propagation and may be held across a sleep (and are even
> implemented using mutexes and condition variables for that matter). I do
> plan to implement Solaris-style rwlocks that do priority propagation, etc.
> and are not sleepable but have not done so yet. Until that time, you will
> have to use mutexes as those are the only locks FreeBSD supports that have
> the semantics you want.
Thanks for the clarification and as you guessed, my reference is rwlocks
on Solaris. I look forward to the day when you manage to complete this
work, as do many other freebsd users & developers, I'm sure!
Cheers,
Darren
More information about the cvs-src
mailing list