An absolute delay (stopping the whole system) is not the way to go. You need to allow the OS to handle events while you are waiting. Try using a timer event in your main event loop while waiting. Use the nilEvent event and check the system ticks to determine with your time out is about to occur. There have been numerous examples posted to the forum in the past. A search on nilEvent should turn up some code.
----- Original Message ----- From: "dilek.ozgu" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, January 26, 2004 6:10 AM Subject: RE: delay > I receive the data from serial port. > I must delay my process. > > dilek > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Marcelo > Henrique > Sent: Monday, January 26, 2004 1:00 PM > To: Palm Developer Forum > Subject: RE: delay > > > Why do you want delay your process? > > > Marcelo > > > >From: "dilek.ozgu" <[EMAIL PROTECTED]> > >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> > >To: "Palm Developer Forum" <[EMAIL PROTECTED]> > >Subject: delay > >Date: Mon, 26 Jan 2004 12:43:27 +0200 > > > >hi. > >I want to delay my process 2 second. > >how long this function (sysTicksPerSecond) takes ? > >dilek > > > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.560 / Virus Database: 352 - Release Date: 08.01.2004 > > > > > > > >-- > >For information on using the Palm Developer Forums, or to unsubscribe, > >please see http://www.palmos.com/dev/support/forums/ > > _________________________________________________________________ > MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.560 / Virus Database: 352 - Release Date: 08.01.2004 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.560 / Virus Database: 352 - Release Date: 08.01.2004 > > > > -- > 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/
