Bug 45

Summary: pthread_atfork is wrong in new linuxthread
Product: uClibc Reporter: Henning Heinold <heinold>
Component: ThreadsAssignee: unassigned
Status: NEW ---    
Severity: normal CC: aldot
Priority: P3 Keywords: patch
Version: 0.9.30.2   
Target Milestone: 0.9.32   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: pthread_atfork.patch

Description Henning Heinold 2009-01-13 22:33:29 UTC
Hi,

while trying to compile perl with uclicbc new linuxthread at arm. I run
into the problem that pthread_atfork is no available.
The problem was that it was synced with the glibc version. Which has
compat ifdefs we do not need at uclibc. The inital checked in version
is the right and works. So either revert the commit 2 years ago
or patch it with the patch attached I made for openembedded.

PS: khem promised me to check in my linuxthread arm work afte the nptl
    merge
Comment 1 Henning Heinold 2009-01-13 22:35:03 UTC
Created attachment 15 [details]
pthread_atfork.patch
Comment 2 Bernhard Reutner-Fischer 2010-02-21 10:54:46 UTC
I've applied this to the 0_9_30 branch only for now.

Thanks!