I am using mutex in a kld.
mutex protects an open file so lock and unlock functions are called from open and close functions of the kld repectively.
but when i start second instance of an application working on this file, my system hangs.
there is no sleep call in the code.


can anybody figure out what's the prob.

thanx
Anurag

_________________________________________________________________
Staying fit. It's about being happy! http://server1.msn.co.in/features/stayingfit/index.asp Check out the new mantra.


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to