This is the mail archive of the libc-help@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]

pthread_cond_wait hangs on pthread_cancel when mutex uses PRIO_INHERIT


 I have seen other entries on this problem and I am aware of the patch
titled "Fix exception table for i386 pthread_cond_wait".  I have the
same problem described in these other entries where it only hangs when
PRIO_INHERIT is used with the mutex.

I am working with an embedded system that uses a Freescale P2020
processor.  I am using the Gentoo Linux distribution as provided by
the SBC vendor.  It uses glibc 2.15-r2 with gcc 4.6.3.  I need to use
PRIO_INHERIT because the condition variable is used by several threads
of different SCHED_RR and SCHED_FIFO priorities.

I am assuming that the i386 does not apply to the Freescale P2020?

Is there a more general patch that fixes this problem for all platforms?

This problem also occurs on an x86_64 system that uses the Ubuntu
Linux distribution with glibc 2.15 and gcc 4.6.3.


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