This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: About Multi-thread programming
- To: Huang Qiang <jameshq at liverpool dot ac dot uk>
- Subject: [ECOS] Re: About Multi-thread programming
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 22 Mar 2001 16:49:09 +0000
- Cc: eCos discussion <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <009101c0b2e2$9fb3af00$2372fd8a@dikhuit>
> Huang Qiang wrote:
>
> Dear John:
> I am a developer currently using eCos and ARM 7TDMI , When I write
> multi-thread program and call the cyg_thread_delay() function in the
> thread,but it keeps waiting ( the thread is blocked and never return back
> again). I have tried to change the clock in the ecos configuration tool
> but no effect. Could you give me some ideal about it.
> Target: AEB
There could be all sorts of reasons for that, e.g. that there is a higher
priority thread now running and so the delayed thread won't run anyway. Or
perhaps you are using the wrong units to delay - the delay is in clock
ticks, not milliseconds or microseconds.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine