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]

Re: Clock and delay problem



Fabrice Gautier <Fabrice_Gautier@sdesigns.com> writes:
> After some investigations, I can tell that the clock ISR is called, but not
> the DSR. That's annoying for the clock update is done in the DSR. I tried to
> step throught the ISR and DSR but it seems impossible since when I am in
> interrupt_end, there is another IRQ0I came back in the ISR. 
> 
> I don't understand how it comes that the DSR is not executed but the main
> thread is. Maybe this explain also why there is no rescheduling in the
> cyg_thread_delay call.

The scheduler is locked.  Somehow.  That explains a) no DSRs run so no
clock ticks; b) no actual deschedule in the cyg_thread_delay() call.

I don't understand how come your thread is being run with the scheduler
locked, though.

	- Huge

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