On 04-Mar-02 ouyang kai wrote:
> Hi, eveyone,
>        I found the FreeBSD4.x defined the simplelock in the sys/sys/lock.h.
> But, it doesn't exist in FreeBSD5.0, why? If I want use the FreeBSD4.x
> simplelock function,  
> how and what can I use in FreeBSD5.0?

5.0 has different locking primitives than 4.x.  What are you using a simplelock
for on 4.x?  That will help decide which locking primitive you would need to
use in 5.0 to obtain similar semantics/behavior.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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

Reply via email to