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 3 2362
On Tue, 15 Jan 2008 22:46:41 -0800 (PST), Pallav singh
<si**********@g mail.comwrote 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.program mer.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.l earn.c-c++ http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
On Jan 16, 12:08 pm, Jack Klein <jackkl...@spam cop.netwrote:
On Tue, 15 Jan 2008 22:46:41 -0800 (PST), Pallav singh
<singh.pal...@g mail.comwrote 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.program mer.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.l earn.c-c++http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
=============== =============== =============== =============== =============== ==========
I am looking debugger for Threads DeadLock solution in Linux platform
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: phil |
last post by:
And sorry I got ticked, frustrating week
>And I could help more, being fairly experienced with
>threading issues and race conditions and such, but
>as I tried to indicate in the first place, you've
>provided next to no useful (IMHO) information to
>let anyone help you more than this
This is about 5% of the code.
Uses no locks.
|
by: archana |
last post by:
hi all,
Can someone tell me why can't we modify UI element directly from worker
thread.
Why we need to write delete of call invoke to modify ui element?
Thanks in advance.
|
by: Morpheus |
last post by:
Hi,
I have been coding in Windows for many years so have a mindset to it,
so forgive any stupid questions.
Is it possible to create a multithread application in C++ that is
portable (OS/compiler)? In my Windows applications, I use
synchronization objects like, mutex, semaphores etc. Is there anything
similar in the Standard ANSI C++ or...
|
by: Zytan |
last post by:
I have code running in the debugger as I type. I press pause, and it
pauses on:
Application.Run(new myForm());
*I believe* a worker thread is in deadlock (it's in a lock, but calls
another function that tries to use the same lock). If the main thread
was deadlocked, I think the debugger would stop right on that spot.
So, I assume that...
|
by: Amit Dedhia |
last post by:
Hi
I am developing a scientific application which has moderate level
image processing involved.
In my application, there is a main application form which invokes
another form. When this form is running, a timer function keeps
executing every 250ms. The timer function does some real time data
processing and generates a bitmap which needs...
| |
by: cty0000 |
last post by:
I have some question..
This is my first time to use thread..
Following code does not have error but two warring
The warring is
Warning 2 'System.Threading.Thread.Suspend()' is obsolete:
'Thread.Suspend has been deprecated. Please use other classes in
System.Threading, such as Monitor, Mutex, Event, and Semaphore, to
synchronize Threads...
|
by: Maqsood Ahmed |
last post by:
Hello,
I asked a question regarding thread synchronization on this usergroup
some days back. I was using the AutoResetEvent class for signalling
between two threads. The problem with AutoResetEvent was that it
sometimes it used to stop working a thread never come back from Wait
state.
I implemented Monitor for signalling following the...
|
by: Creativ |
last post by:
Why does Thread class not support IDisposable? It's creating quite
some problem. Namely, it can exhaust the resource and you have not
control over it.
|
by: Paul E Collins |
last post by:
I want to fill an ImageList with bitmaps for a ListView from another
thread, because it's a time-consuming process. I expect the
ListViewItems' images to "load" one by one, as in a Web browser.
I wrote the following code, but the form freezes up while
CreateTileBitmaps is running, just as if I'd done it on the main
thread. How can I add...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |