summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/join.c
Commit message (Collapse)AuthorAgeFilesLines
* linuxthreads.old: fix crash in debug codeMike Frysinger2009-07-211-1/+1
| | | | | | | If pthread_join() is called and there is nothing to join, then the debug code will attempt to dereference a NULL pointer. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make all "XXXhidden_proto(" consistently not use a space before '('Denis Vlasenko2008-12-131-1/+1
|
* *: remove some __libc_XXX functions:Denis Vlasenko2008-12-101-3/+3
| | | | | | | | | | | | __libc_accept __libc_close __libc_connect __libc_creat __libc_creat64 __libc_fsync __libc_lseek __libc_lseek64 __libc_msync __libc_nanosleep __libc_open __libc_open64 __libc_pause __libc_read __libc_readv __libc_recv __libc_recvfrom __libc_recvmsg __libc_send __libc_sendmsg __libc_sendto __libc_tcdrain __libc_wait __libc_waitpid __libc_write __libc_writev They were removed from glibc 1 May 2004: http://sources.redhat.com/ml/libc-hacker/2004-05/msg00001.html
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-3/+3
|
* Add hidden symbols for a number of pthread functions, and use them to ensureBernd Schmidt2007-11-221-0/+2
| | | | | that all entries in the __pthread_functions point to functions within libpthread, not identically-named functions in libc.
* prevent cancellation functions from being called more than onceMike Frysinger2006-11-091-3/+7
|
* backport from upstream:Mike Frysinger2006-11-091-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+0
| | | | is a useless attempt
* kill off unused warningMike Frysinger2005-12-271-1/+1
|
* rename current stable linuxthreads to linuxthreads.old to prepare for import ↵Mike Frysinger2005-11-151-0/+221
of latest glibc version