This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PTHREAD_MUTEX_ERRORCHECK and atfork
- From: Bert Wesarg <wesarg at informatik dot uni-halle dot de>
- To: libc-alpha at sourceware dot org
- Date: Sun, 05 Aug 2007 21:07:11 +0200 (CEST)
- Subject: PTHREAD_MUTEX_ERRORCHECK and atfork
Hello all,
a user has posted[1] a problem to the comp.programming.threads group, that
he get EPERM errors in a child atfork handler from a pthread_mutex_unlock
with an error checking mutex.
There is some code to test this. I can reproduce this in a ubuntu 7.04
i386 system.
Please have a look at this thread and give a comment on this issue..
Thank you.
Regards.
Bert Wesarg
[1]
http://groups.google.com/group/comp.programming.threads/browse_thread/thread/cb03089da6639aaa/12643894a1f17c27