summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/internals.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Set the default thread stack size to 16k for mmu-less systems.Eric Andersen2003-06-121-0/+4
| | | | -Erik
* Use a funky version in a probably vein attempt at preventing gdbEric Andersen2003-03-011-2/+5
| | | | from dlopen()'ing glibc's libthread_db library...
* Major update for pthreads, based in large part on improvementsEric Andersen2003-02-271-9/+28
| | | | | from glibc 2.3. This should make threads much more efficient. -Erik
* Based on work by Stefan Allius, arrange for early initialization ofEric Andersen2002-08-191-0/+1
| | | | | | pthread stuff. Also, don't bother building libthread_db unless we are debugging. -Erik
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-201-0/+480
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