OSDN Git Service

linuxthreads fixes from Will Newton (will.newton AT gmail.com):
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 12 Mar 2009 20:56:59 +0000 (20:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 12 Mar 2009 20:56:59 +0000 (20:56 -0000)
commit52c9ef85a65f4dc25a4d1ff79c0fba1ed53ef43a
tree4b034bbe45a4e21907dda9e0a2af6d9adc2b63d0
parenta8e76cbe147263a58d9e70e426d295858f9cd308
linuxthreads fixes from Will Newton (will.newton AT gmail.com):
* share Sys V semaphores in order to get appropriate SEM_UNDO semantics.
* correct guardaddr in pthread_free() for TLS case
* move spinlock unlocking before restart()
* When exit was called from a signal handler, the restart
  from the manager processing the exit request instead restarted the thread
  in pthread_cond_timedwait.
  (see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html)
libpthread/linuxthreads/descr.h
libpthread/linuxthreads/manager.c
libpthread/linuxthreads/pthread.c
libpthread/linuxthreads/specific.c
libpthread/linuxthreads/spinlock.c
libpthread/linuxthreads/spinlock.h
libpthread/linuxthreads/sysdeps/i386/tls.h