Nithin, That's right.. My question was.. There is a thread which is waiting.. I want to know the command in mdb to know which function in that thread is holding that lock, rather which function in that thread is waiting on that conditional variable..
Regards, Kiran -----Original Message----- From: Nitin.Hande at Sun.COM [mailto:nitin.ha...@sun.com] Sent: Thursday, August 10, 2006 12:10 PM To: C, Kiran (STSD) Cc: mdb-discuss at opensolaris.org Subject: Re: [mdb-discuss] Doubt in mdb C, Kiran (STSD) wrote: > > > HI, > > I have a doubt in mdb. > > When I do, ::threadlist -v it will list all the kernel threads > > In the Solaris OS, the WCHAN column is the address of a > synchronization variable on which the thread is blocked. > > Say, There is a thread called abcd() which is blocked, and the address > of the sychronization variable say xxxx > > I want to know which function in this thread is holding this lock so > that I can look into that function in more detail. > But threadlist -v also shows the stacktrace of the thread doing wait...or am I not understanding your question ? Thanks Nitin > Or is there any other command in mdb where we can find who is holding > the lock in a blocked thread > > > > Regards > > Kiran > _______________________________________________ > mdb-discuss mailing list > mdb-discuss at opensolaris.org >