From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Nick Garnett Cc: jaiprakash@inablers.net, ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Thread related queries Date: Fri, 07 Sep 2001 12:41:00 -0000 Message-id: <3B9922C9.6B63EEAE@redhat.com> References: <200108251135.RAA16753@inablers.net> <3B97D7A9.1E29D21A@redhat.com> X-SW-Source: 2001-09/msg00192.html 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