summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old
AgeCommit message (Collapse)Author
2007-03-19#1273 if EXTRAVERSION is set, make sure we respect itMike Frysinger
2007-02-20call kernel helper to do spinlocksMike Frysinger
2007-01-29since these functions get exported, namespace the argumentsMike Frysinger
2007-01-11Peter Mazinger pointed out that my last commit was faulty.Joakim Tjernlund
This should fix it.
2006-12-08only define msync cancellation point if the syscall existsMike Frysinger
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-11-09prevent cancellation functions from being called more than onceMike Frysinger
2006-11-09backport from upstream:Mike Frysinger
2001-04-10 Ulrich Drepper <drepper@redhat.com> * join.c (pthread_exit): Move code to new function __pthread_do_exit which takes an extra parameter with the current frame pointer. Call new function with CURRENT_STACK_FRAME. (__pthread_do_exit): New function. Call __pthread_perform_cleanup with the new parameter. (pthread_join): Call __pthread_do_exit instead of pthread_exit. * cancel.c (__pthread_perform_cleanup): Takes extra parameter. Use this parameter as the initial value the cleanup handler records are compared against. No active cleanup handler record must have an address lower than the previous one and the initial record must be above (below on PA) the frame address passed in. (pthread_setcancelstate): Call __pthread_do_exit instead of pthread_exit. (pthread_setcanceltype): Likewise. (pthread_testcancel): Likewise. (_pthread_cleanup_pop_restore): Likewise. * condvar.c (pthread_cond_wait): Likewise. (pthread_cond_timedwait_relative): Likewise. * manager.c (pthread_start_thread): Likewise. * oldsemaphore.c (__old_sem_wait): Likewise. * pthread.c (pthread_handle_sigcancel): Likewise. * semaphore.c (__new_sem_wait): Likewise. (sem_timedwait): Likewise. * ptlongjmp.c (pthread_cleanup_upto): Also use current stack frame to limit the cleanup handlers which get run. * internals.h: Add prototype for __pthread_do_exit. Adjust prototype for __pthread_perform_cleanup.
2006-11-09backport from upstream:Mike Frysinger
2001-04-11 Ulrich Drepper <drepper@redhat.com> * cancel.c (_pthread_cleanup_push): Catch invalid __prev buffer and remove it. (_pthread_cleanup_push_defer): Likewise.
2006-11-03remove duplicated/unused ASSERT codeMike Frysinger
2006-11-03dont need to force optimization in CFLAGS anymore (if this fails your ↵Mike Frysinger
compiler prob sucks anyways)
2006-08-24merge fixes from upstream (rev 1.10 -> 1.13)Mike Frysinger
2006-03-05use sched_yield, not pthread_yieldMike Frysinger
2006-02-28need types.h for size_t as pointed out in buildlogMike Frysinger
2006-02-27import ia64 linuxthreads filesMike Frysinger
2006-02-23Added support for the new CRISv32 architecture.Peter Kjellerstedt
2006-02-23Make use of CFLAGS-OMIT-filePeter S. Mazinger
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-02-18make headers more quietMike Frysinger
2006-02-15DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger
linuxthreads[_db] as well, don't try on slow box
2006-02-04fix warning when building on non-mmu hostsMike Frysinger
2006-02-01typoPeter S. Mazinger
2006-02-01same in oldPeter S. Mazinger
2006-01-30Add IMA compilingPeter S. Mazinger
2006-01-26prototypes for threads tooPeter S. Mazinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2006-01-25Modify the earlier changes, because libc-lock references __pthread_mutex*, ↵Peter S. Mazinger
dont use hidden_strong_alias
2006-01-25make use of the internals provided earlierPeter S. Mazinger
2006-01-25Keep only hidden __pthread_mutex_* used in libc, change pthread_mutex_* to ↵Peter S. Mazinger
use internal version, provide pthread_mutexattr_* internal versions, remove unused __pthread_mutex_timedlock
2006-01-25Remove unused prototypePeter S. Mazinger
2006-01-25user internal versions of waitpid/raise/nanosleepPeter S. Mazinger
2006-01-25provide internal nanosleep/waitpid/sigaction/raisePeter S. Mazinger
2006-01-25longjmp should use __libc_longjmp, use __typeof again now that it works ↵Peter S. Mazinger
correctly
2006-01-25s/IS_IN_linuxthreads/IS_IN_libpthread/Peter S. Mazinger
2006-01-24Get rid of a shadow warningPeter S. Mazinger
2006-01-24add noreturn for *longjmpPeter S. Mazinger
2006-01-24waitpid undefinedPeter S. Mazinger
2006-01-24use __typeof for all __libc_x prototypes, do not need __sigaction/__vforkPeter S. Mazinger
2006-01-24Don't use __getpid/__getpagesizePeter S. Mazinger
2006-01-24fork/vfork weak in libc, strong in libpthreadPeter S. Mazinger
2006-01-24Move threads header to proper locationPeter S. Mazinger
2006-01-24Use __typeof for __libc*longjmpPeter S. Mazinger
2006-01-23Remove unneeded _GNU_SOURCEPeter S. Mazinger
2006-01-23depend on ldsoMike Frysinger
2006-01-23typoPeter S. Mazinger
2006-01-23Make i386 build w/ -std=c99 (almost)Peter S. Mazinger
2006-01-23Add some attribute_noreturn, replace __attribute__ ((noreturn)) as wellPeter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-19Remove HAVE_ELFPeter S. Mazinger
2006-01-17Add libc_pthread_init to libc.a as well, should correct bug reported to mlPeter S. Mazinger