This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: POSIX threads in ecos


Hi,
Try to increase the size of the threads stacks.

I think that size =PTHREAD_STACK_MIN * 2 is very small.

--
Boris Guzhov,
St.Petersburg, Russia

----- Original Message -----
From: "Rajeev" <rajeev@inablers.net>
To: <jlarmour@redhat.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: 14 August, 2001 09:51
Subject: Re: [ECOS] POSIX threads in ecos


> hi ,
>  this is the program i'm trying to debug, see if you could help?
> thanks
> rajeev
> ----- Original Message -----
> From: "Jonathan Larmour" <jlarmour@redhat.com>
> To: "Rajeev" <rajeev@inablers.net>
> Cc: <ecos-discuss@sources.redhat.com>
> Sent: Tuesday, August 14, 2001 2:45 iNabler
> Subject: Re: [ECOS] POSIX threads in ecos
>
>
> > 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
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]