This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
When Cyg_Scheduler_Implementation::add_thread() is called?
- From: Nodir Kodirov <nodir dot qodirov at gmail dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 22 Feb 2010 22:23:57 +0900
- Subject: [ECOS] When Cyg_Scheduler_Implementation::add_thread() is called?
- References: <186ad4051002220522w592b40acn97c91e4c1e0c8b2f@mail.gmail.com>
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