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]

How does multi-threading happen?


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


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