Bug#266507: NPTL (0.60) quirks with pthread_create (ignores attributes)
At Wed, 18 Aug 2004 04:51:59 +0200,
Florian Schmidt wrote:
> there's a problem with the libc6 package and a 2.6.x kernel. I have attached two test programs to illustrate the problem [test_thread_attr.cc and test_thread_post.cc; compile each with -lpthread].
>
> The programs try to create a SCHED_FIFO thread. test_thread_attr tries this by setting the attributes before creating the thread. test_thread_post does this by using setschedparam explicitly after thread creation.
>
> test_thread_attr fails silently. It reports no error ps -C test_thread_attr -cmL shows there are no SCHED_FIFO threads created:
AFAIK, one trial to fix this kind of problem is Robust Mutex. They're
proposing kernel modification "fusyn", however I guess these
modifications will go into 2.7.
Regards,
-- gotom
Reply to: