This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: [ecos] synchronization level of cyg_drv_cond_broadcast
- To: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Subject: RE: [ECOS] [ecos] synchronization level of cyg_drv_cond_broadcast
- From: Schmidt Henning Larsen <HenningLS at danfoss dot com>
- Date: Tue, 30 Oct 2001 14:26:27 +0100
> >
> > Hi
> >
> > Why is the syncronization level of cyg_drv_cond_broadcast: DSR.
> > I meen it's a nonblocking call !?
>
> You mean you expect to use it in an ISR too? The answer is no
> as it might
> corrupt kernel structures that are only protected by a DSR
> lock, not by
> disabling interrupts. This is entirely intentional.
>
> Jifl
Ok thanks.
How about cyg_semaphore_post() can I use that in a ISR.
Henning