In message <[EMAIL PROTECTED]>, Wes Peters writes:
>Poul-Henning Kamp wrote:
>> 
>> In message <[EMAIL PROTECTED]>, Warner Losh writes:
>> 
>> >I'd like to be able to do some simple spl locking in a driver that I'm
>> >writing.  While I could go the splhigh() route, I'm concerned that
>> >spending lots of time at splhigh could cause problems, and some of my
>> >critical sections look to be very expensive.  They only need
>> >protection against the card itself, not against the entire system.  It
>> >just seems to be an overly large hammer.
>> 
>> I miss this too.
>
>Semaphores?

spl*() are semaphores.

--
Poul-Henning Kamp             FreeBSD coreteam member
[EMAIL PROTECTED]               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to