AW: [ECOS] Delaying a thread for less than 10ms

Gorjup Matthias Matthias.Gorjup@SIEMENS.AT
Tue Sep 7 15:31:00 GMT 2004

We need a 1ms delay and are just testing the CYGACC_CALL_IF_DELAY_US - it
seems this will solve our problem.

Thanks a lot for the help

Matthias Gorjup

-----Ursprungliche Nachricht-----
Von: Gary Thomas []
Gesendet: Dienstag, 7. September 2004 16:46
An: Gorjup Matthias
Cc: ''
Betreff: Re: [ECOS] Delaying a thread for less than 10ms

On Tue, 2004-09-07 at 08:34, Gorjup Matthias wrote:
> Hello,
> we would like to delay an execution of a thread for less than 10ms. Is
> possible?
> Now we are using cyg_thread_delay(1) to achieve a pause of 10ms.
> But we need a shorter delay for only one thread, al other threads are fine
> with the granularity of 10ms.

How short?  If it's truly short, you could use CYGACC_CALL_IF_DELAY_US

Otherwise, you'll need to set up some sort of high[er] resolution clock
[timer] and use that (which, depending on your hardware, might be messy)

Gary Thomas <>
MLB Associates

Before posting, please read the FAQ:
and search the list archive:

More information about the Ecos-discuss mailing list