This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos init thread - does it exit after cyg_user_start()
- From: Michael Bergandi <mbergandi at gmail dot com>
- To: Elad Yosef <elad dot yosef at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 24 Jan 2011 13:50:04 -0500
- Subject: Re: [ECOS] eCos init thread - does it exit after cyg_user_start()
- References: <AANLkTimEwgeE5hBLrt-3cK=d5D0LbC0hkh6M+7gUvnpb@mail.gmail.com>
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