multithreaded debugging
- From: "Mauro de Gennaro" <mdegennaro@xxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 09:00:05 +0100
I am writing a multithreaded program for Windows CE 4.2. I'm using EVC4
(4.00.0714.0). Do you know if are there any problems with debugger? Trying
to debug graphic interface (priority level 251) cause stopping higher
priority threads (priority level 1)
I have 3 threads with different levels of priority in this scenario:
1 - priority 0 (waiting for hardware interrupt)
2 - priority 1 (waiting for SetEvent from thread 1)
3 - priority 251 (graphic interface)
May I know why does, debugging interface thread n.3 and stopping its code
with a break point, cause higher thread n.2 to stop too? In other words I
can see that after leaving interface thread break points the higher priority
thread n.2 exits time outed.
The thread n.1 is not affected by the problem and still stays alive. The 1st
one relay on hw interrupt; the 2nd one waits on events signaled by the 1st
one and stops.
Do you know any problem with SetEvent, WaitForSingleObject, or
WaitForMultipleObject?
Thanks in advance for your help
Eng. Mauro de Gennaro
Chief Electronic Department
Bierrebi S.p.A.
Via Sagittario, 23
40044 Pontecchio Marconi (BO)
ITALY
tel. +39051845868 fax. +390516782011, +390516784794
mdegennaro@xxxxxxxxxxxx
www.bierrebi.com
-----------------------------------------------------------------------------------------------------
This message is confidential and intended solely for the person or
organization to whom it is addressed; it may contain privileged or
confidential information. If you are not the intended recipient, you should
not copy, distribute, use, disclose its contents or take any action in
reliance on it. Please notify us of your reception and delete the original.
Questo messaggio è strettamente confidenziale e destinato esclusivamente
alla persona e/o la società cui è diretto, poiché potrebbe contenere
informazioni riservate e/o confidenziali. Nel caso in cui chi riceve il
messaggio non sia il destinatario designato, chiediamo di non farne copia,
diffondere, usare, divulgare il contenuto del messaggio e/o di non
intraprendere alcuna attività in relazione ad esso. Chiediamo inoltre di
segnalarci l 'errata ricezione e di distruggere l'originale.
-----------------------------------------------------------------------------------------------------
.
- Follow-Ups:
- Re: multithreaded debugging
- From: Voidcoder
- Re: multithreaded debugging
- From: Mauro de Gennaro
- Re: multithreaded debugging
- Prev by Date: Re: Problem with FILESYS_FSROMRAM
- Next by Date: How can I create eboot from command prompt?
- Previous by thread: GUI Application...
- Next by thread: Re: multithreaded debugging
- Index(es):
Relevant Pages
|