[ECOS] Synchronization

Jesper Skov jskov@redhat.com
Fri Nov 9 11:56:00 GMT 2001


>>>>> "Schmidt" == Schmidt Henning Larsen <HenningLS@danfoss.com> writes:

Schmidt> Hi What is the difference between cyg_drv_mutex_unlock and
Schmidt> cyg_mutex_unlock ? 

The _drv_ functions (both lock and unlock) provide fallback
implementations when the kernel isn't present.

Schmidt> Can I call isig_sem( ID semid ) in an ISR or DSR ?  

See http://sources.redhat.com/ecos/docs-latest/ref/ecos-ref.13.html#pgfId=1080346

You can only call the signal function of a conditional variable from
the DSR. So I guess the answer is no.

Jesper



More information about the Ecos-discuss mailing list