[ECOS] from ISR to thread
Fri Dec 7 05:57:00 GMT 2001
Nick Garnett <email@example.com> writes:
> By using the DSR lock we ensure that the DSR cannot get called between
> testing the ringbuffer and the cond_wait. Threads can wait with the
> DSR lock claimed and if there is a pending DSR when the thread waits,
> it will be woken up immediately and continue.
Ah, now I see the trick that avoids races between threads and DSRs.
More information about the Ecos-discuss