public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eCos init thread - does it exit after cyg_user_start()
@ 2011-01-24 11:21 Elad Yosef
  2011-01-24 18:50 ` Michael Bergandi
  0 siblings, 1 reply; 2+ messages in thread
From: Elad Yosef @ 2011-01-24 11:21 UTC (permalink / raw)
  To: ecos-discuss

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

Thanks

Elad

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] eCos init thread - does it exit after cyg_user_start()
  2011-01-24 11:21 [ECOS] eCos init thread - does it exit after cyg_user_start() Elad Yosef
@ 2011-01-24 18:50 ` Michael Bergandi
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Bergandi @ 2011-01-24 18:50 UTC (permalink / raw)
  To: Elad Yosef; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-24 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 11:21 [ECOS] eCos init thread - does it exit after cyg_user_start() Elad Yosef
2011-01-24 18:50 ` Michael Bergandi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).