[ECOS] when does context switch happen?

Qiang Huang jameshq@liverpool.ac.uk
Thu Oct 3 05:33:00 GMT 2002


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



More information about the Ecos-discuss mailing list