[ECOS] cyg_thread_get_next function and list of eCos threads

Nodir Qodirov nodir.qodirov@gmail.com
Thu Jul 9 04:14:00 GMT 2009


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



More information about the Ecos-discuss mailing list