This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]