thanks, keith I'll give that a try. BTW here was my original post which probably didn't give enough info to interest anyone :0
http://groups.yahoo.com/group/palm-dev-forum/message/71711 By nothing happening POST my application AppExit function, I mean that I have NOT Altered anything from the Starter app/stationary that I used to create the application past the AppStop function. It exits to my AppsMain which has but a mere break statement and return err (which is 0) between it and the last brace to the PilotMain, which just exits. I'm not implying that there is somethign wrong in the OS, or something wrong in Poser, I know it has to be my app. I just don't know where :D I don't have any other side-effects, no crashes, 1/2 million gremlins (in non-debug roms) it just slow as ^#$%@@ to exit. Also plain ol' C no C++ -- Matt Disher [EMAIL PROTECTED] > From: Keith Rollin <[EMAIL PROTECTED]> > Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Date: Thu, 16 May 2002 14:12:36 -0700 > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Subject: Re: Lengthy Exit Time > > At 3:43 PM -0400 5/16/02, Matt Disher wrote: >> I posted a while back and never got a response > > I don't see any previous posting from you on this. "Drag and Drop > Sample code" is the only posting I see you originating. > >> Basically my App takes for ever and a day to exit and get back to the >> Launcher. All this happens POST my AppExit function, and Poser doesn't >> report any memory leaks. > > Are you programming in C++? Do you have any global objects that need > to be destroyed? That would occur after your PilotMain exits. > > BTW, it may be clear to you, but it's not clear to us if anything is > going on in your application between "POST my AppExit function" and > the time your PilotMain exits. > >> Any tips, tricks, thoughts welcome. > > If I were in your situation, I might make a HostControl call to > HostSetPreference just before my application quits. This would set > the preference to turn on system function logging. I'd also enlarge > the logging buffer to about 10 Meg. > > HostSetPreference ("LogSystemCalls", 1); > HostSetPreference ("LogFileSize", 10 * 1024L * 1024L); > > Next, I'd run my program, quit it, and then quit Poser during the > long pause. This should catch the call-stream involved with the long > delay. And if you catch it with the initial part of the stream in > the log (that is, the reams of system-call information written to the > log doesn't cause the first part to get discarded -- system-call > logging can generate LOTS of information), then you may be able to > back-trace the initial set of events that cause the delay. > > -- Keith Rollin > -- Palm OS Emulator engineer > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please > see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
