This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/19941] New: pthread_cond_broadcast wakes only one thread when used with PTHREAD_PRIO_INHERIT mutex on powerpc


https://sourceware.org/bugzilla/show_bug.cgi?id=19941

            Bug ID: 19941
           Summary: pthread_cond_broadcast wakes only one thread when used
                    with PTHREAD_PRIO_INHERIT mutex on powerpc
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: johannes.asal at sick dot de
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 9183
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9183&action=edit
Test case

The attached test program will hang when trying to join the second task. It
works when I set the PTHREAD_PROCESS_SHARED attribute on the condvar so I
suspect there is a problem with the requeue. Non-PI mutexes work fine. The
issue has been observed on a Freescale PowerPC e6500 with RT PREEMPT:

Linux sim4000-64b 3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6 #1 SMP PREEMPT RT Thu
Apr 7 11:05:02 CEST 2016 ppc64 GNU/Linux

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]