This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
confused about Interrupt handling.
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] confused about Interrupt handling.
- From: "Tony Ko" <nhko at gctsemi dot com>
- Date: Sat, 14 Jul 2001 13:04:42 +0900
hi.
compare two sentences below
"For this to work in the presence of interrupts, it is necessary for
the Interrupt Service Routines (ISR) to defer any scheduler-oriented
operations until the lock is about to go zero. We do this by splitting
the work of an ISR into two parts, with the second part, the Deferred
Service Routine ( DSR ), being queued until the scheduler decides it is
safe to run. "
" After the ISR exits, but before the kernel scheduler is invoked
again, a delayed service routine ( DSR ) will be invoked. It executes
with scheduling disabled, but with interrupts enabled, so that further
invocations of the same DSR can be queued."
these two sentences are from ecos-ref.4.
I'm confused about " actually when DSR process".
After scheduling invoked again or Before scheduling invoked again?
I think DSR is a kind of scheduler-oriented operation, right?
thanks in advance.
Tony.