liujun wrote: > addr::mutex > only give the mutex's info : > >> 30001054000::mutex >> > ADDR TYPE HELD MINSPL OLDSPL WAITERS > 0000030001054000 adapt 200000000 - - yes > > > is there some other cmds to get the thread which own it or which wait it? > > Yes, you could found the mutex onwer from ::mutex output.
And you also can get all of threads related to one lock address by using: <lock addr>::whatthread or <lock addr>::kgrep |::whatis -a Then, try to use ::findstack to wok with a thread address... Since you are from China, one of my Chinese blogs could give you an example about ::rwlock, but it's quite similar with ::mutex http://blog.csdn.net/yayong/archive/2007/03/04/1520604.aspx -- Cheers, ---------------------------------------------------------- Oliver Yang | Work from home | http://blog.csdn.net/yayong