summaryrefslogtreecommitdiffstats
path: root/include/pthread.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-0/+3
| | | | | | | | | | | | | | | | 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.
* It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen2002-10-131-2/+2
| | | | | | | | a few spots in our header files. In this change I do a s/__thread/__thread_id/ so we no longer conflict with newer CVS versions of gcc (such as the patched up gcc 3.2 included with RedHat 3.0). -Erik
* Patch from Ronald Wahl <rwa@peppercon.com> -- kill references toEric Andersen2002-07-011-4/+4
| | | | | the obsolete PTHREAD_MUTEX_FAST_NP, and change the default mutex type to adaptive
* Initial first (lame) pass at making a pthreads library. ThisEric Andersen2001-11-141-0/+682
works for me when linking staticly on x86.