[ECOS] How does multi-threading happen?

HuangQiang jameshq@liverpool.ac.uk
Wed Apr 24 10:33:00 GMT 2002


Hi all:
    In eCOS after a thread is created and resume, the actual user's program
will be run by calling hal_thread_load_context() and branch to the user's
thread. But if for two equal priority thread how does the thread switching
happens? How does the thread know when to switch to another thread if the
other is the same priority?  where does the scheduler take care of the
thread switching(equal priority threads)? (arm e7t)

Thanks a lot for your help.

Best regards!

james


-- 
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