This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: POSIX threads in ecos
- To: Rajeev <rajeev at inablers dot net>
- Subject: Re: [ECOS] POSIX threads in ecos
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 13 Aug 2001 22:15:54 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200108131513.UAA22434@inablers.net>
Rajeev wrote:
>
> hi,
> i'm trying out the posix threads in ecos. i've three threads running a
> simple program.
> when i dont use the sleep call the threads run happily though not to
> the priorities i've set .
> but when i use the sleep call the output i get is
> thread1:hello world
> thread2:hello world
> thread3:hello world
> thread1:hello world
> thread2:hello world
> thread3:hello world
> >>>>and then the system does nothing.
> i'm using an ARM7 based board and i have configured one of its timers
> for the scheduler to use and i'm using a basic tick of 0.5 secs
> what might be the problem??
What's the program? I should warn you that these multi-threading problems
are non-trivial to track down, and therefore aren't the type of thing I
would find for you (not a paying customer y'see). If I don't see anything
glaringly obvious in the program, you'll just have to debug it I'm afraid.
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