This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
when does context switch happen?
- From: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 3 Oct 2002 13:32:51 +0100
- Subject: [ECOS] when does context switch happen?
Hi all:
I have a question:
There are two threads: thread1, thread2
thread1 is running, when rescheduling is needed is it possible to call
reschedule directly then calls to the hal_thread_switch_context( )
**without** entering to the VSR? or when reschedule is needed or maybe
called directly, will the hal_thread_switch_context( ) called until the RTC
VSR happens then switch context in interrupt_end( )??
Thanks a lot.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss