public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug nptl/3482] New: pthread_cond_signal does not respect thread priority @ 2006-11-08 9:31 loic-dev at gmx dot net 2006-11-08 9:41 ` [Bug nptl/3482] " loic-dev at gmx dot net 2006-11-08 16:06 ` drepper at redhat dot com 0 siblings, 2 replies; 3+ messages in thread From: loic-dev at gmx dot net @ 2006-11-08 9:31 UTC (permalink / raw) To: glibc-bugs If two threads with different priorities are waiting on the same condition variable, a pthread_cond_signal() on that condvar shall wake the thread waiting the longest on the condvar, not the one with the highest priority. As of my understanding, this departs from SUS. -- Summary: pthread_cond_signal does not respect thread priority Product: glibc Version: 2.4 Status: NEW Severity: normal Priority: P2 Component: nptl AssignedTo: drepper at redhat dot com ReportedBy: loic-dev at gmx dot net CC: glibc-bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=3482 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug nptl/3482] pthread_cond_signal does not respect thread priority 2006-11-08 9:31 [Bug nptl/3482] New: pthread_cond_signal does not respect thread priority loic-dev at gmx dot net @ 2006-11-08 9:41 ` loic-dev at gmx dot net 2006-11-08 16:06 ` drepper at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: loic-dev at gmx dot net @ 2006-11-08 9:41 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From loic-dev at gmx dot net 2006-11-08 09:41 ------- Created an attachment (id=1407) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1407&action=view) test case for the problem mentioned output: Thread with Prio 1 is waiting on CV Thread with Prio 2 is waiting on CV Thread with prio 1 has been signaled Thread with Prio 1 is waiting on CV Thread with prio 2 has been signaled Thread with Prio 2 is waiting on CV Thread with prio 1 has been signaled Thread with Prio 1 is waiting on CV Thread with prio 2 has been signaled Thread with Prio 2 is waiting on CV -- http://sourceware.org/bugzilla/show_bug.cgi?id=3482 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug nptl/3482] pthread_cond_signal does not respect thread priority 2006-11-08 9:31 [Bug nptl/3482] New: pthread_cond_signal does not respect thread priority loic-dev at gmx dot net 2006-11-08 9:41 ` [Bug nptl/3482] " loic-dev at gmx dot net @ 2006-11-08 16:06 ` drepper at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: drepper at redhat dot com @ 2006-11-08 16:06 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From drepper at redhat dot com 2006-11-08 16:05 ------- This is a kernel problem. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX http://sourceware.org/bugzilla/show_bug.cgi?id=3482 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-08 16:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-11-08 9:31 [Bug nptl/3482] New: pthread_cond_signal does not respect thread priority loic-dev at gmx dot net 2006-11-08 9:41 ` [Bug nptl/3482] " loic-dev at gmx dot net 2006-11-08 16:06 ` drepper at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).