This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ISR not causing an DSR in some rare conditions
- From: Sergei Organov <osv at javad dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 12 Jan 2006 21:30:13 +0300
- Subject: [ECOS] Re: ISR not causing an DSR in some rare conditions
- References: <3EDBCCE80E95E744A99895CA464987C4456591@dtcsrvr09>
"Doyle, Patrick" <WPD@dtccom.com> writes:
> There was a discussion on the developers list last week or the week before
> about a subtle race condition that arose when an interrupt occurred at the
> exact instant that a single thread called a blocking primitive and the
> scheduler was busy transitioning to the idle thread. See
> http://ecos.sourceware.org/ml/ecos-devel/2006-01/msg00000.html for more
> details. Nick posted a patch, which I presume was applied to the CVS tree.
> You could try applying his patch yourself or updating to the latest CVS tree
> (and seeing if the tree does, in fact, include his patch).
It's unlikely it's the source of the problem. I was the OP of the issue
and the bug could only result in a delay of DSR, not in missing of a DSR
provided (other) ISRs/DSRs continue to run (the latter being the case
for the OP of this thread).
-- Sergei.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss