mutex in kld

Anurag Chaudhary chaudharyanurag at hotmail.com
Thu Jun 5 06:54:42 PDT 2003


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.



More information about the freebsd-questions mailing list