summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/manager.c
Commit message (Collapse)AuthorAgeFilesLines
* tls: test for DTV vs TCB at TP correctlyAustin Foxley2009-09-231-4/+4
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* linuxthreads fixes from Will Newton (will.newton AT gmail.com):Denis Vlasenko2009-03-121-7/+8
| | | | | | | | | | | * share Sys V semaphores in order to get appropriate SEM_UNDO semantics. * correct guardaddr in pthread_free() for TLS case * move spinlock unlocking before restart() * When exit was called from a signal handler, the restart from the manager processing the exit request instead restarted the thread in pthread_cond_timedwait. (see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html)
* Synch with trunk @ 24242Carmelo Amoroso2008-12-031-1/+1
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-311-1/+1
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge from trunk."Steven J. Hill"2006-08-181-7/+0
|
* Copy from trunk."Steven J. Hill"2006-02-231-0/+1128
|
* Remove old directories."Steven J. Hill"2005-11-161-1005/+0
|
* Merge with trunk. "So do that funky merge whiiite boy...""Steven J. Hill"2005-09-131-15/+115
|
* Merge from trunk."Steven J. Hill"2005-07-231-20/+20
|
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-161-6/+6
|
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
* Major update for pthreads, based in large part on improvementsEric Andersen2003-02-271-30/+70
| | | | | from glibc 2.3. This should make threads much more efficient. -Erik
* Just be a bit less different from latest glibc version in commentsEric Andersen2003-01-231-4/+0
| | | | and in the files where variables live.
* Per patch from Nathan Field at ghs.com, add a couple of variablesEric Andersen2003-01-231-0/+4
| | | | needed to make gdb happy when debugging threadded apps.
* A patch from Arne Jonsson <arne.jonsson@i3micro.com>:Eric Andersen2002-10-291-16/+22
| | | | | | | | 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.
* A patch from Arne Jonsson <arne.jonsson@i3micro.com> to allowEric Andersen2002-10-231-2/+66
| | | | | uClibc's libpthread to run on linux 2.0.x kernels which lack poll() and therefore must use select() instead.
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-201-0/+786
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