summaryrefslogtreecommitdiff
path: root/libpthread
AgeCommit message (Collapse)Author
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-23Fix indenting. Per patch from Nathan Field at ghs.com, changeEric Andersen
LINUXTHREADS_PTHREAD_THREADS_MAX to properly point to "__pthread_threads_max".
2003-01-02Rework sparc architecture support so it will compileEric Andersen
and run. Seems to be working... -Erik
2002-12-18whitespaceMiles Bader
2002-11-27Make support for global constructors and global destructors beEric Andersen
configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
2002-11-05Standardize LIBGCC_DIREric Andersen
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-10-01This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen
how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
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-20Only build libthread_db when both threads and debug are enabledEric Andersen
-Erik
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-08Fix license. I meant to say LGPL...Eric Andersen
-Erik
2002-08-08I missed a fileEric Andersen
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-05-28Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen
Propagate fixes across makefiles. -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-04-09Russ Dill noticed that the symlinks for libpthread didn't matchEric Andersen
the other links. Fixed now. -Erik
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
2002-02-20Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen
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
2002-01-28Fix the bug where binaries built with older toolchains wouldEric Andersen
segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik
2002-01-16Tell ld explicitly when stuff is supposed to by dynamically linkedEric Andersen
-Erik
2002-01-12Depend upon libcEric Andersen
2002-01-11More build system cleanups...Eric Andersen
2002-01-11Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen
chicken-and-egg problems when building gcc toolchains. -Erik
2002-01-06Fix stupid typing problemsEric Andersen