Date: Tue, 05 Mar 2002 10:51:51 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: ouyang kai <oykai@msn.com> Cc: current@FreeBSD.ORG Subject: RE: simplelock to lock_class? Message-ID: <XFMail.020305105151.jhb@FreeBSD.org> In-Reply-To: <OE22NOPk0O5SjMKtWNy00000a2a@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020305105151.jhb>