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!
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"