This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
cyg_thread_get_next function and list of eCos threads
- From: Nodir Qodirov <nodir dot qodirov at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 9 Jul 2009 13:13:56 +0900
- Subject: [ECOS] cyg_thread_get_next function and list of eCos threads
Hello everybody!
I am trying to learn how eCos system works and currently how eCos
handles threads.
I read from eCos reference
(http://ecos.sourceware.org/docs-latest/ref/kernel-thread-info.html)
that
cyg_bool cyg_thread_get_next(cyg_handle_t *thread, cyg_uint16 *id);
function is used to get all threads exists in our system. So, if I say
1) "all threads in eCos are stored in linked list"
and
2) "in each new thread creation it is added to system's existing thread list".
Are these two statements true?
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss