Wonder if any one has some suggestions.
I have a prc running and I start off a tight loop, meaning I do some
calcualtions over and over again till I send myself a
SysNotifyBroadcastDeferred. I catch the SysNotifyBroadcastDeferred in the
MyHandleNotification and in this function I do a :
MemSet( &newEvent, sizeof( EventType ), 0 );
newEvent.eType = appStopEvent;
EvtAddEventToQueue( &newEvent );
Now back in my 'tight loop' I've tried various ways of trapping the
appStopEvent, but no matter what I do I can't seem to get the
'appStopEvent'.
I've put EvtGetEvent(&event, 100) in my AppEventLoop and tried pausing my
'tight loop' at different time intervals, used EvtGetEvent to see what the
EventType held, but never would see the appStopEvent. Is there some way I
can pause my 'tightloop' and let the application handle/catch up with the
EvtAddEventToQueue I posted or is there some other logic I'm missing?
Thanks in adance.
Carl
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/