Re: cvs commit: src/sys/contrib/ipfilter/netinet ip_auth.c

[ Available lists | Index of cvs-src | Month of Dec 2004 | Week of 29 Dec 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Darren Reed <darrenr@hub.freebsd.org>
Date
29 Dec 2004 07:44:25
Subject
Re: cvs commit: src/sys/contrib/ipfilter/netinet ip_auth.c
Message-ID
20041229074425.GA87078@hub.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.212 seconds