This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Infinite loop when excuting "Hello, eCos World!"


On Fri, Jan 20, 2006 at 09:51:27PM +0900, Kidong Lee wrote:
> On 1/20/06, Andrew Lunn <andrew@lunn.ch> wrote:
> > On Fri, Jan 20, 2006 at 06:08:27PM +0900, Kidong Lee wrote:
> > > Hello,
> > >
> > > I compiled "Hello, eCos World!" Sample Appplication and try to execute on Linux,
> > > It print "Hello, eCos World!" and fall in infinite loop.
> >
> > What would you expect it to do when it has nothing to do?
> >
> 
> I expect it would exit the process and return to the shell prompt.
> Is falling in infinite loop normal?

Embedded systems don't exit! 

If you want a synthetic system to exit call cyg_hal_sys_exit() but it
will only exists on synth.

        Andrew

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]