summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/internals.h
Commit message (Collapse)AuthorAgeFilesLines
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-4/+4
|
* backport from upstream:Mike Frysinger2006-11-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* backport from upstream:Mike Frysinger2006-11-091-0/+1
| | | | | | | | 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.
* remove duplicated/unused ASSERT codeMike Frysinger2006-11-031-11/+0
|
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-5/+5
|
* typoPeter S. Mazinger2006-02-011-1/+1
|
* same in oldPeter S. Mazinger2006-02-011-1/+5
|
* Get rid of missing prototype warningsPeter S. Mazinger2006-01-261-0/+2
|
* Modify the earlier changes, because libc-lock references __pthread_mutex*, ↵Peter S. Mazinger2006-01-251-0/+6
| | | | dont use hidden_strong_alias
* Remove unused prototypePeter S. Mazinger2006-01-251-2/+0
|
* Get rid of a shadow warningPeter S. Mazinger2006-01-241-2/+2
|
* waitpid undefinedPeter S. Mazinger2006-01-241-0/+1
|
* use __typeof for all __libc_x prototypes, do not need __sigaction/__vforkPeter S. Mazinger2006-01-241-6/+5
|
* Make i386 build w/ -std=c99 (almost)Peter S. Mazinger2006-01-231-1/+1
|
* update pthread weak handling to the style glibc usesMike Frysinger2006-01-041-0/+14
|
* rename current stable linuxthreads to linuxthreads.old to prepare for import ↵Mike Frysinger2005-11-151-0/+518
of latest glibc version