summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits/uClibc_pthread.h
Commit message (Collapse)AuthorAgeFilesLines
* libc: remove libc weak __pthreads_* wrappersTimo Teras2010-04-161-3/+4
| | | | | | | | | | | | | | | | | It is not possible to override for libpthread to override the weak libc definitions. This has never worked in uclibc, and does no longer work in glibc either (unless you use LD_DYNAMIC_WEAK). The proper thing to do is have weak prototypes in libc, and definitions in libpthread only. This way libc runs even if those functions are not defined, but just needs to protect against the NULL values (done by implementing __uclibc_maybe_call). This fix the problems if libc is linked before libpthread or if libpthread is pulled by a dependency library. Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Disable declarations for NPTL."Steven J. Hill"2007-01-201-0/+2
|
* silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen2006-12-091-5/+15
|
* seems this is the newfangled way to tell folks this stuffEric Andersen2006-12-081-1/+1
| | | | is really really and we mean it this time, for uClibc only
* this stuff is for uClibc internal use onlyEric Andersen2006-12-081-0/+2
|
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-081-2/+1
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* Undo earlier change and sync new linuxthreads' guard w/ oldPeter S. Mazinger2006-02-161-2/+0
|
* Guard __pthread_mutex_* to be used exclusively within uClibc, do we need ↵Peter S. Mazinger2006-02-161-0/+2
| | | | this header at all installed?
* remove duplicate ;Mike Frysinger2006-01-051-3/+3
|
* now we can safely declare these hiddenMike Frysinger2006-01-041-4/+4
|
* Remove textrelPeter S. Mazinger2006-01-031-4/+4
|
* hide the internal libc pthread_mutex funcsMike Frysinger2005-12-291-9/+6
|
* booooring license updatesMike Frysinger2005-11-091-7/+8
|
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-0/+39
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.