summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/forward.c
Commit message (Collapse)AuthorAgeFilesLines
* nptl: fix libc internal, dynamically enabled lockingTimo Teräs2010-04-221-4/+16
| | | | | | | | | | | | | | | | | | | | | Final iteration to fix libc internal locking if libpthread is pulled in by dlopen call (directly or indirectly). We cannot really use the weak symbol trick for shared build, since the symbols won't get refreshed if libpthread is pulled in dynamically. In glibc, they have #ifdef SHARED magic to either use pthread_functions table, or weaks. But as we shared object files with both builds, this does not sounds good either. The reintroduces the libc weaks.c, but uses them now only with static build. For dynamic build, we still use the symbols with same name, but provide weaks in forward.c so they end up dereferencing the pthread_functions table indirectly if we are not linked to libpthread. Mutex initialization is hard coded as inline, as it needs to happen even if libpthread is not initially loaded. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* a few more build fixes nptl syncAustin Foxley2010-02-161-2/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mass sync with glibc nptlAustin Foxley2010-02-161-25/+7
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libpthread/nptl: core of the "Native Posix Threading Library" for uClibcAustin Foxley2009-10-171-0/+172
| | | | | | targetting arm,sh,i386,mips,sparc for now Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Back out nptl changes, which for now will be done in branches/uClibc-nptlEric Andersen2005-05-201-202/+0
|
* More glibc backward compatibility cruft. Oh the horror!"Steven J. Hill"2005-05-111-1/+0
|
* Import in NPTL code from glibc. For further information please"Steven J. Hill"2005-05-071-0/+203
consult the 'README.NPTL' file.