]> sourceware.org Git - glibc.git/commit
2005-10-01 Ulrich Drepper <drepper@redhat.com>
authorUlrich Drepper <drepper@redhat.com>
Sat, 1 Oct 2005 17:20:34 +0000 (17:20 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 1 Oct 2005 17:20:34 +0000 (17:20 +0000)
commitdff9a7a163e9f5e28f36f9a701acf74f8f9d7968
treeff9dbb35ab56c666e5d3f2a22bd067a8cf1fd54b
parent2ff89ea46f2c817ad7dd5ce5dc0cc1119da861b6
2005-10-01  Ulrich Drepper  <drepper@redhat.com>

            Jakub Jelinek  <jakub@redhat.com>

* descr.h: Define SETXID_BIT and SETXID_BITMASK.  Adjust
CANCEL_RESTMASK.
(struct pthread): Move specific_used field to avoid padding.
Add setxid_futex field.
* init.c (sighandler_setxid): Reset setxid flag and release the
setxid futex.
* allocatestack.c (setxid_signal_thread): New function.  Broken
out of the bodies of the two loops in __nptl_setxid.  For undetached
threads check whether they are exiting and if yes, don't send a signal.
(__nptl_setxid): Simplify loops by using setxid_signal_thread.
* pthread_create.c (start_thread): For undetached threads, check
whether setxid bit is set.  If yes, wait until signal has been
processed.

* allocatestack.c (STACK_VARIABLES): Initialize them.
* pthread_create.c (__pthread_create_2_1): Initialize pd.
nptl/ChangeLog
nptl/allocatestack.c
nptl/descr.h
nptl/init.c
nptl/pthread_create.c
This page took 0.043313 seconds and 5 git commands to generate.