This is the mail archive of the ecos-discuss@sourceware.org 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 Cyg_Scheduler_Implementation::add_thread() is called?


Hello all!

I was doing some modifications in eCos kernel and I have a question
about adding threads to the system. To be more specific when
Cyg_Scheduler_Implementation::add_thread() is called?

In the kernel source code (can be found on the line #200 of
kernel\v3_0\src\sched\mlqueue.cxx for ML Sheduler) there is no comment
for this function. So, I was thinking / expecting this function is
called once thread is created, but when I checked this function is
called several times, even though I create application with only one
thread.

Thanks for help!
Nodir.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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