On 3/4/08, Svend Meyland Nicolaisen <[EMAIL PROTECTED]> wrote:
>  > If a thread goes to sleep, the DSRs get unlocked again. When
>  > the thread becomes runnable and is rescheduled, DSRs are
>  > relocked. You could consider this to mean that the scheduler
>  > lock is a per-thread property.
>  >
>
>  Ahh, thank you for your answer. Might be a good point to add to the
>  documentation..... :-)

I was confused by this to begin with as well.  It is actually in the
documentation but it's a bit easy to overlook.  Look at the
description of cyg_drv_cond_wait() in the Driver API section of the
Reference Manual.

Rob.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to