This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/7007] PTHREAD_EXPLICIT_SCHED not honored after 'attr' is initialized to defaults
- From: "mtk dot manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 5 Nov 2008 19:41:58 -0000
- Subject: [Bug nptl/7007] PTHREAD_EXPLICIT_SCHED not honored after 'attr' is initialized to defaults
- References: <20081105192855.7007.mtk.manpages@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mtk dot manpages at gmail dot com 2008-11-05 19:41 -------
Created an attachment (id=3042)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3042&action=view)
test program
The attached test program can be used to demonstrate the reported behavior
using the following command:
$ sudo ./pthreads_sched_test -mf10 -i e
root's password:
Scheduler settings of main thread
policy=SCHED_FIFO, priority=10
Scheduler settings in 'attr'
policy=SCHED_OTHER, priority=0
inheritsched is EXPLICIT
About to call pthread_create() with attrp=0xbfeacb54
Scheduler attributes of new thread
policy=SCHED_FIFO, priority=10
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7007
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.