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: from ISR to thread


> I do not understand, why don't you use a counting semaphore 
> instead of the
> condition variable? What makes you think that a DSR can 
> signal a condition
> variable but not a counting semaphore?
> 
> Robin
> 

Hi

Maybe I've misunderstood something, but at:
http://sources.redhat.com/ecos/docs-latest/ref/ecos-ref.13.html
I seems that 

cyg_drv_cond_signal
cyg_drv_cond_broadcast

are the only synchronization primitives I can use in a DSR.

But perhaps I actually can use "cyg_semaphore_post(sem)" ?

Henning


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