[ECOS] eCos init thread - does it exit after cyg_user_start()

Michael Bergandi mbergandi@gmail.com
Mon Jan 24 18:50:00 GMT 2011


Elad,

> Does the INIT thread calls exit() after it returns from the cyg_user_start()
> or it stays alive in the system?

Initialization of the ecos kernel isn't done in a thread.
Initialization takes place before the scheduler is started.

Take a look here (specifically, under Calling Context):

http://ecos.sourceware.org/docs-3.0/ref/kernel-overview.html

and here:

http://ecos.sourceware.org/docs-3.0/ref/c-library-startup.html

Hope those references give you a better understanding.

-- 
Mike

-- 
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