summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads
AgeCommit message (Collapse)Author
2003-06-12Set the default thread stack size to 16k for mmu-less systems.Eric Andersen
-Erik
2003-06-02Patch from Peter S. Mazinger to fix some leftover problemsEric Andersen
from converting "PIC" to "__PIC__"
2003-05-30In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen
should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
2003-03-13Oops. Don't call strip twiceEric Andersen
2003-03-11Make it so debugging pthreads works, even with DODEBUG turned offEric Andersen
-Erik
2003-03-11Minor cleanup to better sync with glibc 2.3Eric Andersen
2003-03-04Patch from Stefan Allius adding the function 'thread_self_stack'Eric Andersen
from glibc 2.3 that is needed for pthreads to compile for SuperH.
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-03-03fix coldfire/68000 support properly this time, ifdef logic was back toDavid McCullough
front.
2003-03-01Use a funky version in a probably vein attempt at preventing gdbEric Andersen
from dlopen()'ing glibc's libthread_db library...
2003-02-28Fixup mips pthreadsEric Andersen
2003-02-28restore the coldfire changesDavid McCullough
2003-02-27Major update for pthreads, based in large part on improvementsEric Andersen
from glibc 2.3. This should make threads much more efficient. -Erik
2003-01-31Correct license.Miles Bader
2003-01-30Patch from Christian Krause:Eric Andersen
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
2003-01-30Initial checkin.Miles Bader
2003-01-23Just be a bit less different from latest glibc version in commentsEric Andersen
and in the files where variables live.
2003-01-23Per patch from Nathan Field at ghs.com, fix the mips __compare_and_swap inlineEric Andersen
function. Without this fix, pthread_mutex_lock/pthread_mutex_unlock don't work on mips.
2003-01-23Per patch from Nathan Field at ghs.com, fix __pthread_initialize_manager so itEric Andersen
locks before calling clone when under a debugger, and unlocks on success or failure of clone when under a debugger.
2003-01-23Per patch from Nathan Field at ghs.com, add a couple of variablesEric Andersen
needed to make gdb happy when debugging threadded apps.
2003-01-02Rework sparc architecture support so it will compileEric Andersen
and run. Seems to be working... -Erik
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-10-29A patch from Arne Jonsson <arne.jonsson@i3micro.com>:Eric Andersen
Attached are the changes we think is necessary in order to use user defined stacksizes for each thread. When testing I forgot to lower the PTHREAD_STACK_MIN to the lowest value used for the stacks, this caused stranged reboots. As said before, we are using uClinux 2.0.38 on a ARM7TDMI.
2002-10-23A patch from Arne Jonsson <arne.jonsson@i3micro.com> to allowEric Andersen
uClibc's libpthread to run on linux 2.0.x kernels which lack poll() and therefore must use select() instead.
2002-10-13It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen
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
2002-09-20Added pthread support for CRIS.Tobias Anderberg
2002-09-17Fixup thread support for the 5200/5307 coldfire platforms.David McCullough
2002-08-21Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
2002-08-21mode_t was being promoted to an int by gcc's __builtin_va_arg, causing badEric Andersen
things to happen. This makes it explicit, so pthread using apps are no longer broken... -Erik
2002-08-20Remove some noiseEric Andersen
2002-08-19Based on work by Stefan Allius, arrange for early initialization ofEric Andersen
pthread stuff. Also, don't bother building libthread_db unless we are debugging. -Erik
2002-08-11Ugh. Make uClibc cross compile with gcc 2.95.x and threads. I wonderEric Andersen
if this is serious enough to warrent 0.9.14? -Erik
2002-08-08Patch from Stefan Allius and Edie C. Dost:Eric Andersen
In linuxthreads/errno.h the functions __errno_location and __h_errno_location wasn't safe against calling before the library is initialized.
2002-08-06Several pthreads updates. Enable linuxthreads_db. Several fixesEric Andersen
related to thread local storage. -Erik
2002-07-19Fix spellingEric Andersen
2002-07-14Add both pthread_mutexattr_setpshared() andEric Andersen
pthread_mutexattr_getpshared(), which were missing -Erik
2002-07-14Add missing pthread_condattr_getpshared and pthread_condattr_setpsharedEric Andersen
-Erik
2002-07-01Patch from Ronald Wahl <rwa@peppercon.com> -- kill references toEric Andersen
the obsolete PTHREAD_MUTEX_FAST_NP, and change the default mutex type to adaptive
2002-06-13Fix pthreads to use the rt signals if presentEric Andersen
-Erik
2002-06-10Kill the libc-lock headers, which we do not use and which areEric Andersen
not correct for uClibc. Fix setenv locking to behave itself. -Erik
2002-04-17Remove strong aliases to symbols that we don't define in uClibcEric Andersen
2002-04-10Fix libpthread compile for sparcEric Andersen
2002-03-12Swap in the new stdio code.Manuel Novoa III
2002-03-01Patch from M. R. Brown <mrbrown@0xd6.org> to fix pthread supportEric Andersen
for SH, and fix vfork
2002-02-27Remove some debugging codeEric Andersen
2002-02-26Enable pread/pwriteEric Andersen
2002-02-23Several naming cleanups so threads work properly againEric Andersen
2002-02-21Let the large file stuff be cancelableEric Andersen
2002-02-21Oops. I forgot to commit this file...Eric Andersen
2002-02-21Lose the _GNU_SOURCE and just add __USE_GNU to the one file that needsEric Andersen
it, since we definately do not want silent remapping of functions to their large-file counterparts. -Erik