Date: Fri, 06 Jun 2003 13:07:27 +0530 From: "Anurag Chaudhary" <chaudharyanurag@hotmail.com> To: freebsd-questions@freebsd.org Subject: mutex in kld Message-ID: <Law9-F27QeSOzNCWbzw0005d00a@hotmail.com>
next in thread | raw e-mail | index | archive | help
I am using mutex in my kld. but every time i run two instances of a program that uses this driver, the system hangs. I hav put the lock function in the open function of kld and unlock in close function. There is no call to sleep. Although it is a big code to protect, but i need it that way. Is there some solution to the problem. Is lockmgr a better idea for this. this is urgent thanx Anurag _________________________________________________________________ Dress up your desktop! Get the best wallpapers. http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just click here!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Law9-F27QeSOzNCWbzw0005d00a>