Commit Graph

955 Commits

Author SHA1 Message Date
Joseph Myers 9a1d92541f Consistently use macros for x86 PIC thunks. 2012-02-03 23:22:53 +00:00
Ulrich Drepper 8898f02074 Add const attribute to pthread_equal 2012-01-10 19:37:35 -05:00
Ulrich Drepper 356fa562ec Consistently added return to pthread_exit 2012-01-10 19:02:21 -05:00
Adhemerval Zanella 232872379e Use __pthread_get_minstack for AIO helper thread 2012-01-08 19:56:52 -05:00
Marek Polacek c473bd1cd9 Quash implicit declaration warning 2012-01-08 13:21:50 -05:00
Ulrich Drepper a784e50247 Remove pre-ISO C support
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper 120ced3f5d Remove IA-64 support from NPTL 2012-01-07 12:16:05 -05:00
Ulrich Drepper ee9e064083 Use __pthread_get_minstack in more places 2011-12-22 22:58:17 -05:00
Ulrich Drepper 2c1094bd70 Create internal threads with sufficient stack size 2011-12-22 22:43:39 -05:00
Ulrich Drepper 60e8585f2a Fix reading thread name from comm file 2011-12-21 19:26:29 -05:00
Andreas Schwab c5a0802a68 Handle EAGAIN from FUTEX_WAIT_REQUEUE_PI 2011-11-30 11:03:19 +01:00
Ulrich Drepper c2b18f7a0e Add missing register initialization in x86-64 pthread_cond_timedwait 2011-10-29 15:50:01 -04:00
Andreas Schwab 3871f58f06 Don't mark memory synchronisation functions as leaf 2011-10-27 17:20:14 +02:00
Ulrich Drepper 10d005f77f Remove unnecessary include from x86-32 tls.h 2011-10-23 16:31:09 -04:00
Ulrich Drepper 2fa2ae85ca Fix strnlen change 2011-10-23 16:30:40 -04:00
Andreas Schwab 7a775e6b3d Avoid race between {,__de}allocate_stack and __reclaim_stacks during fork 2011-09-15 15:36:18 +02:00
Ulrich Drepper 83cd142045 Remove --wth-tls option, TLS support is required 2011-09-11 15:02:01 -04:00
Ulrich Drepper 02d46fc4b9 Simplify malloc initialization
Singificantly reduce the code needed at malloc initialization.  In
the process getpagesize is simplified by always initializing
GLRO(dl_pagesize).
2011-09-10 21:47:36 -04:00
Ulrich Drepper d063d16433 Remove support for !USE___THREAD 2011-09-10 16:50:28 -04:00
H.J. Lu 1e4bd093e6 Fix macro used in test 2011-09-08 23:53:04 -04:00
Ulrich Drepper 9e5c9dcd57 Remove gettimeofday vsyscall use from x86-86 libpthread 2011-09-07 00:14:06 -04:00
Ulrich Drepper a0e1f41bd4 Don't call gettimeofday vsyscall in x86-64 sem_timedwait 2011-09-06 23:17:53 -04:00
David S. Miller 39c4451cec Fix nptl semaphore cleanup invocation. 2011-09-05 10:01:52 -07:00
Roland McGrath 5744c68d78 Align x86 TCB to 64 bytes (cache line size), important for Atom. 2011-08-14 19:26:49 -07:00
Andreas Schwab a724d1b9bf Fix stack alignment on x86_64 2011-08-09 10:07:10 -04:00
Ulrich Drepper 7a03a9c8c4 Add read barriers in cancellation initialization 2011-07-22 23:48:22 -04:00
Ulrich Drepper ecaddd6699 Rebuild configure scripts 2011-07-06 21:29:02 -04:00
Ulrich Drepper 6f8326cacd Fix robust mutex handling after fork 2011-06-30 20:41:34 -04:00
Jim Meyering ded5b9b7c7 Remove doubled words. 2011-04-22 21:34:32 -04:00
Ulrich Drepper e943389325 Remove use of ranlib. 2011-02-15 14:52:29 -05:00
Ulrich Drepper 70181fddf1 Change setgroups to affect all the threads in the process. 2011-01-14 08:42:11 -05:00
H.J. Lu f90681487d Fix alignment of AVX safe area on x86-64. 2010-10-13 22:12:03 -04:00
Andreas Schwab c3758feebf Fix namespace pollution in pthread_cleanup_push. 2010-09-21 10:47:14 -07:00
Ulrich Drepper 4ac42e193f Small optimization of alloca handling. 2010-09-03 04:42:44 -07:00
Dinakar Guniguntala 022f6b8920 Fix x86 pthread_cond_signal() FUTEX_WAKE_OP fallback 2010-08-19 00:46:19 -07:00
H.J. Lu f8392f4004 Add -fno-asynchronous-unwind-tables to initfini.s for i386 2010-08-15 20:09:23 -07:00
Alan Modra bebff237c5 PowerPC64 ABI fixes 2010-08-12 09:19:19 -07:00
Andreas Schwab e8ee8bdf2a Fix type mismatch 2010-07-06 08:08:46 -07:00
Andreas Schwab 2983d85ee5 Work around kernel rejecting valid absolute timestamps 2010-07-01 19:07:14 -07:00
Takashi Yoshii 4bc93b3033 [sh] Fix incorrect location of ifndef for __ASSUME_FUTEX_CLOCK_REALTIME. 2010-06-14 16:56:22 -07:00
Ulrich Drepper 5d7a6541c2 Fix typo in last commit. 2010-04-09 12:29:18 -07:00
Ulrich Drepper 86a4c67fb9 Implement interfaces to set and get names of threads.
At least the Linux kernel provides field where the kernel originally
stores the command which is executed by the thread.  The value can
subsequently be overwritten.  The added functions allow to do that for
threads, providing and abstraction around the syscalls or /proc file
system accesses needed.
2010-04-09 01:09:24 -07:00
Roland McGrath f571a994ce Move unwind-resume code from NPTL to sysdeps/gnu. 2010-04-05 20:07:39 -07:00
Ulrich Drepper 1d78f2996d Fix a few more problem with the recent setxid changes. 2010-03-09 20:21:12 -08:00
Ulrich Drepper 66f1b8eeb2 Fix setxid race with thread creation 2010-03-05 11:23:28 -08:00
Michal Schmidt 893549c5a0 Fix pthread_cond_*wait with requeue-PI on i386. 2010-01-15 18:09:14 -08:00
Ulrich Drepper d3c7e68655 Fix up pthread.h for XPG7. 2010-01-12 12:13:04 -08:00
Ulrich Drepper f095bb7204 Add support for XPG7 testing.
The header conformance testing code needed extending for XPG7.  This
exposed a few bugs in the headers.  There are more changes to come.
2010-01-09 10:56:41 -08:00
Thomas Schwinge d34bd80fce Fix s390 startup code in libpthread. 2009-12-22 08:37:33 -08:00
Ulrich Drepper 23b8575625 More whitespace fixes. 2009-12-13 11:52:28 -08:00