Date: Tue, 6 Aug 2002 11:23:43 -0700 (PDT) From: Ed Yu <edlyu@yahoo.com> To: freebsd-hackers@freebsd.org Subject: mutex in kernel modules? Message-ID: <20020806182343.89911.qmail@web20702.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, what mutex is available when writing kernel modules? I want something like declaring of "semaphore" and be able to lock and unlock it. I found simplelock in <sys/lock.h>. I saw some modules using struct mtx but I couldn't find it anywhere in the header files. Man pages for both of them do not show anything. I'm running FreeBSD-stable. Any help would be greatly appreciated. Thank you. -ed __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020806182343.89911.qmail>