[ECOS] Re: In trouble of timer operations

Paul D. DeRocco pderocco@ix.netcom.com
Fri May 30 03:09:00 GMT 2008


> 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



More information about the Ecos-discuss mailing list