public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] infinite loop of create a new thread
@ 2000-11-13  1:46 pyxue
  2000-12-05 19:40 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: pyxue @ 2000-11-13  1:46 UTC (permalink / raw)
  To: ecos-discuss

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!



Cosm Xue 


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

* Re: [ECOS] infinite loop of create a new thread
  2000-11-13  1:46 [ECOS] infinite loop of create a new thread pyxue
@ 2000-12-05 19:40 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-12-05 19:40 UTC (permalink / raw)
  To: pyxue; +Cc: ecos-discuss

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

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

end of thread, other threads:[~2000-12-05 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-13  1:46 [ECOS] infinite loop of create a new thread pyxue
2000-12-05 19:40 ` Jonathan Larmour

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