This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Strange Problem in cyg_thread_delay( )?
- To: Huang Qiang <jameshq at liverpool dot ac dot uk>
- Subject: Re: [ECOS] Strange Problem in cyg_thread_delay( )?
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Date: Mon, 23 Apr 2001 13:08:22 +0200
- Cc: eCos <ecos-discuss at sources dot redhat dot com>
- References: <KIEBICHBADHFCLGCKOPDCEEOCBAA.jameshq@liv.ac.uk>
On Mon, Apr 23, 2001 at 12:03:05PM +0100, Huang Qiang wrote:
> Dear all:
> I am using ARM Evaluator7T . My test program has a sigle thread
> runnning, while I call cyg_thread_delay(200) each time in the thread (loop).
> It pass the first and second call to the cyg_thread_delay(200), but halted
> at the third call to the cyg_thread_delay. What's wrong with it? Can anyone
> help me?
> Thanks a lot!
> james
Given the little information you have provided there could be lots of
possibilites....
Have you started the schedular?
Is your stack big enough?
Have you memset(0,0,10000);
Have you built eCos with assertions enables in package infra? That may
help.
Supply more details and then we may be able to help.
Andrew