This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Thread related queries
- To: Nick Garnett <nickg at redhat dot com>
- Subject: Re: [ECOS] Thread related queries
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 07 Sep 2001 20:40:57 +0100
- Cc: jaiprakash at inablers dot net, ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200108251135.RAA16753@inablers.net> <3B97D7A9.1E29D21A@redhat.com> <wwg1ylj9wf5.fsf@balti.cambridge.redhat.com>
Nick Garnett wrote:
> It is actually irrelevant, since the inherit attribute is set to
> PTHREAD_INHERIT_SCHED the default is for all threads to inherit the
> priority of their creator.
True, I missed that aspect.
> Without looking at Jaiprakash's program, it is difficult to know what
> is actually happening.
It's here: http://sources.redhat.com/ml/ecos-discuss/2001-08/msg00846.html
but I don't see anything suspect.
Jaiprakash should try to debug it. In particular, in GDB set a breakpoint
and do "info threads" to see what the thread priorities _really_ are.
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