This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug linuxthreads/6508] New: Problem with mutexes and semaphores
- From: "bugreport at netmasters dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 May 2008 22:10:33 -0000
- Subject: [Bug linuxthreads/6508] New: Problem with mutexes and semaphores
- Reply-to: sourceware-bugzilla at sourceware dot org
I'm migrating from NON-NPTL to NPTL and my software don't work.
When one thread call pthread_mutex_lock(&action_mutex) and another thread call
pthread_mutex_unlock(&action_mutex), waiting thread don't wake up.
At http://www.netmasters.cz/nptl.c is testing code, which work well only at NON-
NPTL systems.
Tested systems:
Slackware 10.1 - NON-NPTL - PASSED
Slackware 10.2 - NON-NPTL - PASSED
Slackware 12.0 - NPTL - FAILED
Fedore 8 X64 - NPTL - Failed
NPTL Output:
Starting thread 2:
After lock 2
Starting thread 3:
After lock 2
After lock 2
After lock 2
After lock 2
NON-NPTL Output:
Starting thread 2:
After lock 2
Starting thread 3:
After lock 3
After lock 2
After lock 3
After lock 2
After lock 3
--
Summary: Problem with mutexes and semaphores
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: linuxthreads
AssignedTo: drow at false dot org
ReportedBy: bugreport at netmasters dot cz
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6508
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.