This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Synchronization


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]