mutex in kld

Anurag Chaudhary chaudharyanurag at hotmail.com
Fri Jun 6 00:37:28 PDT 2003


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!



More information about the freebsd-questions mailing list