PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.cplus > Regarding Thread deadlock
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Regarding Thread deadlock

Réponse
 
LinkBack Outils de la discussion
Vieux 16/01/2008, 06h46   #1
Pallav singh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Regarding Thread deadlock

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
  Réponse avec citation
Vieux 16/01/2008, 07h08   #2
Jack Klein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Regarding Thread deadlock

On Tue, 15 Jan 2008 22:46:41 -0800 (PST), Pallav singh
<singh.pallav@gmail.com> wrote in comp.lang.c++:

> 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
news:comp.os.ms-windows.programmer.win32

--
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
  Réponse avec citation
Vieux 16/01/2008, 11h17   #3
Pallav singh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Regarding Thread deadlock

On Jan 16, 12:08 pm, Jack Klein <jackkl...@spamcop.net> wrote:
> On Tue, 15 Jan 2008 22:46:41 -0800 (PST), Pallav singh
> <singh.pal...@gmail.com> wrote in comp.lang.c++:
>
> > 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
> news:comp.os.ms-windows.programmer.win32
>
> --
> 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
  Réponse avec citation
Vieux 16/01/2008, 11h35   #4
Michael Oswald
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Regarding Thread deadlock

Pallav singh wrote:

>
> I am looking debugger for Threads DeadLock solution in Linux platform



Valgrind 3.3.0 has a tool called helgrind, which may do what you want, see
http://www.valgrind.org


Michael

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h09.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10610 seconds with 12 queries