summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/pthread.c
Commit message (Collapse)AuthorAgeFilesLines
* In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen2003-05-301-1/+1
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
* Patch from Stefan Allius adding the function 'thread_self_stack'Eric Andersen2003-03-041-1/+21
| | | | from glibc 2.3 that is needed for pthreads to compile for SuperH.
* Major update for pthreads, based in large part on improvementsEric Andersen2003-02-271-121/+295
| | | | | from glibc 2.3. This should make threads much more efficient. -Erik
* Patch from Christian Krause:Eric Andersen2003-01-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | I found a problem in uClibc in libpthread/linuxthres/condvar.c: pthread_cond_timedwait never uses rt singals uClibc has two implementations of pthread_cond_timewait - pthread_cond_timedwait_relative_old using the "normal" signals and pthread_cond_timedwait_relative_new usign the rt signals (for kernels >= 2.2). The function pointer pthread_cond_tw_rel is initialised with the old function. In "__pthread_init_condvar(int)" this pointer is set to the new function using rt signals, but "__pthread_init_condvar" is never called in the uClibc. The following patch solves this issue, so that __pthread_init_condvars is called and the function pointer is always initialised with the correct function. regards, christian
* Just be a bit less different from latest glibc version in commentsEric Andersen2003-01-231-0/+3
| | | | and in the files where variables live.
* Per patch from Nathan Field at ghs.com, fix __pthread_initialize_manager so itEric Andersen2003-01-231-3/+5
| | | | | locks before calling clone when under a debugger, and unlocks on success or failure of clone when under a debugger.
* Based on work by Stefan Allius, arrange for early initialization ofEric Andersen2002-08-191-0/+12
| | | | | | pthread stuff. Also, don't bother building libthread_db unless we are debugging. -Erik
* Patch from Stefan Allius and Edie C. Dost:Eric Andersen2002-08-081-1/+3
| | | | | | In linuxthreads/errno.h the functions __errno_location and __h_errno_location wasn't safe against calling before the library is initialized.
* Fix pthreads to use the rt signals if presentEric Andersen2002-06-131-108/+30
| | | | -Erik
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-201-0/+876
glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen (me). Stefan has hacked things up such that linuxthreads runs on MMU-less systems (tested only on arm-nommu). Erik cleaned things up and made it work properly as a shared library. -Erik