Does it happen to a simulator/emulator or to a real device?

SB> Hi All,
SB> My problem is following- I'm doing some data processing in
SB> the main application loop. If I my processing take more time(for
SB> example 2 minutes) in the next iteration in the loop the function
SB> EvtGetEvent() blocks my application for some undefined time- for
SB> about 1 min for example.
SB> I'm sure that exactly EvtGetEvent() blocks my application
SB> becouse when debugging the debug pointer stops on the next
SB> EvtGetEvent().

SB> If anybody has any idea please help?

SB> I'm adding here and my code:
SB> do
SB> {
SB>     EvtGetEvent(&event, 0);
SB>     serialConnection.SerialDataProcessing();
SB>     if (! SysHandleEvent(&event))
SB>     {
SB>             if (! MenuHandleEvent(0, &event, &error))
SB>             {
SB>                     if (! AppHandleEvent(&event))
SB>                     {
SB>                             FrmDispatchEvent(&event);
SB>                     }
SB>             }
SB>     }
SB> } while (event.eType != appStopEvent);

SB> Thanks in advance...

С наилучшими пожеланиями,

Александр Павлович Казанцев
г.Пущино, Московская обл.



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to