This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: infinite loop of create a new thread
- To: pyxue <pyxue at t2-design dot com>
- Subject: Re: [ECOS] infinite loop of create a new thread
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Wed, 06 Dec 2000 03:40:01 +0000
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <Pine.LNX.4.21.0011131741260.789-100000@pyxue.zh.t2-design.com>
pyxue wrote:
>
> Hi;
>
> I meet a strange problem during my porting ecos to another platform. If I
> didn't use create a new thread function in my test, everything
> seems well, but if I use this function, my new thread can't run, on the
> other hand, the program jump to the init io device, and run in a circle
> from init io device to cyg_start.
> I am sure the kernel should be the same in porting ecos to another
> platform, but when we create a new thread, maybe we use something which is
> related to platform, and this cause my program not to work well.
> Can someone give me some indications ? Many thanks!
Stack corruption? Is the board actually resetting - sometimes failures can
cause a board to reset, which may give the appearance of it looping.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault