[ECOS] interrupts and scheduling
Fri Sep 2 13:08:00 GMT 2005
On Fri, Sep 02, 2005 at 01:54:44PM +0100, Harish Kulkarni wrote:
> We have two interrupts one at every .5msecs(INT1) and
> other every 1 msec(INT2).
> In our application we have two threads. When INT1 is
> enabled/handled the scheduler is not able to schedule
> the threads.
> Where as when only INT2 is enabled both the threads
> get scheduled.
> We have tried this using mlq and bit-map. But found
> threads scheduling not working when INT1 is enabled.
> The INT1 ISR routine execution time taken is 1.3
Are your ISR & DSR functions doing things they are not allowed to do?
ISRs cannot call any eCos kernel functions. DSRs cannot call any
functions which block.
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