Regarding Thread deadlock

P

Pallav singh

Hi All ,

is there a debugger available to find which thread's are in DeadLock
when we have more than two critical section protected with muxtex?

How to come out of this condition ?

Thanks
Pallav Singh
 
J

Jack Klein

Hi All ,

is there a debugger available to find which thread's are in DeadLock
when we have more than two critical section protected with muxtex?

Certainly, X-Ray for VRTX will do that for code running under VRTX. Of
course, although VRTX, although one of the early pioneering real time
operating systems, is not much used anymore. According to Wikipedia,
which should be taken with a grain of salt, VRTX runs the Hubble Space
Telescope.
How to come out of this condition ?

Of course, if you are running on another platform and not VRTX, X-Ray
would not be of much use to you.

Since the C++ language does not define debuggers, mutexes, critical
sections, or deadlocks, all such things are specific to your operating
system and compiler, which provide them as extensions or support
tools.

So you need to ask this question in a newsgroup that supports your
compiler and operating system.

Judging by the headers on your post, you need to ask in a group like

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
 
P

Pallav singh

Certainly, X-Ray for VRTX will do that for code running under VRTX. Of
course, although VRTX, although one of the early pioneering real time
operating systems, is not much used anymore. According to Wikipedia,
which should be taken with a grain of salt, VRTX runs the Hubble Space
Telescope.


Of course, if you are running on another platform and not VRTX, X-Ray
would not be of much use to you.

Since the C++ language does not define debuggers, mutexes, critical
sections, or deadlocks, all such things are specific to your operating
system and compiler, which provide them as extensions or support
tools.

So you need to ask this question in a newsgroup that supports your
compiler and operating system.

Judging by the headers on your post, you need to ask in a group like

--
Jack Klein
Home:http://JK-Technology.Com
FAQs for
comp.lang.chttp://c-faq.com/
comp.lang.c++http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html

=====================================================================================

I am looking debugger for Threads DeadLock solution in Linux platform
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top