Re: multithreaded debugging



Not very clear, though. Do you mean WaitForSingleObject(SomeEvent)
in Nr.2 returns WAIT_TIMEOUT when you stop at breakpoint in Nr.3?


"Mauro de Gennaro" <mdegennaro@xxxxxxxxxxxxx> wrote in message news:Oj99nxjJGHA.2708@xxxxxxxxxxxxxxxxxxxxxxx
>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.
> -----------------------------------------------------------------------------------------------------
>
>
>


.



Relevant Pages

  • Re: [Q] giving priority to network interfaces?
    ... The second interface connects the Ultra to ... > NFS server is in kernel-space. ... In 5.8 NFS runs in the kernel in the SYS class at priority 60 (lowest ...
    (comp.unix.solaris)
  • Re: Seriously struggling with C
    ... the system only fails more than once every few weeks when under heavy load at customer sites in the week before month end when they are running hundreds of invoices through the system hourly. ... Do I ask my customer if they will let me know each time they start a new session so I can attach a debugger to it or do I spend an hour putting in some debug logging and ask them to run with that build for a bit? ... for such remote environment we had setup our CORBA applications running on the same mashine as CORBA is designed to work local or remote even under another OS. ... can you please add a CORBA interface to Oracle Financials? ...
    (comp.lang.c)
  • Re: Cant Debug COM Interface
    ... Implementing the Interface. ... This application does not have debug symbols ... Here is a code snipped using Javascript / Windows Scripting Host: ... OnCreate method is invoked the debugger halts at the keyword "debugger" in ...
    (microsoft.public.vsnet.debugging)
  • multithreaded debugging
    ... Do you know if are there any problems with debugger? ... to debug graphic interface (priority level 251) cause stopping higher ... Questo messaggio è strettamente confidenziale e destinato esclusivamente ...
    (microsoft.public.windowsce.platbuilder)
  • Re: traffic shaping for C2620 on IOS12.5
    ... traffic no matter if interface is congested or not. ... others, would these be affected by the priority command? ... that's why i was thinking of monitoring bandwidth ... if you want to absolutely ensure that smtp ...
    (comp.dcom.sys.cisco)