Fedora Linux Support Community & Resources Center
  #1  
Old 3rd December 2009, 08:24 AM
techman2006 Offline
Registered User
 
Join Date: Oct 2006
Location: Pune, India
Age: 32
Posts: 51
windows_xp_2003firefox
GDB- How to find which thread hold a lock

Hi All,

I have a core of an multi-threaded application. when i check all the threads it shows me that many threads are blocked for taking a mutex lock. In GDB how I can identify that thread which is holding the mutex lock.
In dbx I can do that using thread -blockedby but in GDB i am not getting how I can do that.

there are more than 100 threads so i cannt check every thread stack.

Thanks in advance.
Reply With Quote
Reply

Tags
gdb, hold, lock, thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Well, if you have to be put on hold... schwim Wibble 9 14th December 2007 11:56 AM


Current GMT-time: 22:23 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat