simplelock to lock_class?

2002-03-04 Thread ouyang kai
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?     Thank you! Best Regards, Ouyang KaiGet more from the Web. FREE MSN Explor

RE: simplelock to lock_class?

2002-03-05 Thread John Baldwin
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 primitiv