[ECOS] why is it wrong to call cyg_semaphore_post() in ISR???
Monica Dsz
monica.dsz@googlemail.com
Fri Jun 9 09:19:00 GMT 2006
> It's a trade off - do you prevent interrupts (hence ISR routines) from
> running during all data critical sections or do you simply not allow
> those [ISR] functions to execute code that might perturb critical data?
> eCos chooses the latter method which allows for lower interrupt latency
> by putting off things until the DSR can be safely run.
>
just to confirm my understanding, does this mean that we never have to
disable and re-enable the interrupts during critical sections? or are there
any cases still we have to disable the interrupts in eCos.
The more I try to understand eCos, the more I am liking it. I wonder why our
company wasnt using this cool RTOS, anyway!!! I hope I will be able to
convince my supervisor to use eCos instead of expensive VxWorks.
Thanks again for the information.
monica
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list