mutex in kld

Anurag Chaudhary chaudharyanurag at
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 
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


Dress up your desktop! Get the best wallpapers. Just 
click here!

More information about the freebsd-questions mailing list