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
>   


Reply via email to