This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Clock and delay problem
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] Clock and delay problem
- From: Hugo 'NOx' Tyson <hmt at cygnus dot co dot ukx>
- Date: 25 Aug 2000 10:49:32 +0100
- Newsgroups: cygnus.sourceware.ecos.d
- Organization: Cygnus Solutions, a Red Hat company (Cambridge, UK)
- References: <8AE4B526B977D411841F00A0CC334020052C29@cuz-exchange.sdesigns.net>
- Reply-To: ecos-discuss at sources dot redhat dot com
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