This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Re: In trouble of timer operations
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 29 May 2008 20:10:27 -0700
- Subject: RE: [ECOS] Re: In trouble of timer operations
> From: ariga masahiro
>
> I understand that cyg_thread_delay(1) delays 10msec but my result shows
> apparently too short period.
Delays start when you call cyg_thread_delay, and end on a particular timer
interrupt tick. The ticks are 10ms apart, but your call to cyg_thread_delay
isn't synchronized with these ticks. An n-tick delay can therefore range
from n-1 to n ticks in duration.
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss