This is the mail archive of the ecos-discuss@sourceware.org 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]

Wake up a thread that is blocked on mbox_get()


Hi,
In my application several threads are blocked on get from mbox
They are also need to handle some periodic things.

I have external HW timer that supply the ticks for the periods
It issues interrupt and I want to wake up the blocked threads from the DSR
This has to be deterministic

How can I wake up the blocked threads to handle the ticks from the DSR?

I prefer not to use mbox_try_get() , it overloads my CPU

Thanks

Elad

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


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