[ECOS] When Cyg_Scheduler_Implementation::add_thread() is called?

Nodir Kodirov nodir.qodirov@gmail.com
Mon Feb 22 13:24:00 GMT 2010


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



More information about the Ecos-discuss mailing list