mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* configure.in (--with-headers): Let argument contain a : separated
list of directories to use, not just one. * configure: Regenerated.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2004-09-16 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* configure.in (--with-headers): Let argument contain a : separated
|
||||||
|
list of directories to use, not just one.
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
2004-09-15 Richard Henderson <rth@redhat.com>
|
2004-09-15 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* sysdeps/alpha/fpu/libm-test-ulps: Update.
|
* sysdeps/alpha/fpu/libm-test-ulps: Update.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2004-09-10 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
[BZ #379]
|
||||||
|
* allocatestack.c (allocate_stack): Remove [__ASSUME_CLONE_STOPPED]
|
||||||
|
code, since we don't try to use the broken CLONE_STOPPED any more.
|
||||||
|
* pthread_create.c (start_thread): Likewise.
|
||||||
|
|
||||||
2004-09-15 Richard Henderson <rth@redhat.com>
|
2004-09-15 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
|
* sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
|
||||||
|
@ -342,11 +342,6 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
|
|||||||
/* The first TSD block is included in the TCB. */
|
/* The first TSD block is included in the TCB. */
|
||||||
pd->specific[0] = pd->specific_1stblock;
|
pd->specific[0] = pd->specific_1stblock;
|
||||||
|
|
||||||
#if defined __ASSUME_CLONE_STOPPED && LLL_LOCK_INITIALIZER != 0
|
|
||||||
/* Initialize the lock. */
|
|
||||||
pd->lock = LLL_LOCK_INITIALIZER;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Remember the stack-related values. */
|
/* Remember the stack-related values. */
|
||||||
pd->stackblock = (char *) attr->stackaddr - size;
|
pd->stackblock = (char *) attr->stackaddr - size;
|
||||||
pd->stackblock_size = size;
|
pd->stackblock_size = size;
|
||||||
@ -485,11 +480,6 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
|
|||||||
descriptor. */
|
descriptor. */
|
||||||
pd->specific[0] = pd->specific_1stblock;
|
pd->specific[0] = pd->specific_1stblock;
|
||||||
|
|
||||||
#if defined __ASSUME_CLONE_STOPPED && LLL_LOCK_INITIALIZER != 0
|
|
||||||
/* Initialize the lock. */
|
|
||||||
pd->lock = LLL_LOCK_INITIALIZER;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This is at least the second thread. */
|
/* This is at least the second thread. */
|
||||||
pd->header.multiple_threads = 1;
|
pd->header.multiple_threads = 1;
|
||||||
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
|
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
|
||||||
@ -623,12 +613,9 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
|
|||||||
pd->reported_guardsize = guardsize;
|
pd->reported_guardsize = guardsize;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef __ASSUME_CLONE_STOPPED
|
/* Initialize the lock. We have to do this unconditionally since the
|
||||||
/* Initialize the lock. We have to do this unconditionally if the
|
stillborn thread could be canceled while the lock is taken. */
|
||||||
CLONE_STOPPED flag is not available since then the stillborn
|
|
||||||
thread could be canceled while the lock is taken. */
|
|
||||||
pd->lock = LLL_LOCK_INITIALIZER;
|
pd->lock = LLL_LOCK_INITIALIZER;
|
||||||
#endif
|
|
||||||
|
|
||||||
/* We place the thread descriptor at the end of the stack. */
|
/* We place the thread descriptor at the end of the stack. */
|
||||||
*pdp = pd;
|
*pdp = pd;
|
||||||
|
@ -227,12 +227,10 @@ start_thread (void *arg)
|
|||||||
|
|
||||||
struct pthread *pd = (struct pthread *) arg;
|
struct pthread *pd = (struct pthread *) arg;
|
||||||
|
|
||||||
#ifndef __ASSUME_CLONE_STOPPED
|
|
||||||
/* Get the lock the parent locked to force synchronization. */
|
/* Get the lock the parent locked to force synchronization. */
|
||||||
lll_lock (pd->lock);
|
lll_lock (pd->lock);
|
||||||
/* And give it up right away. */
|
/* And give it up right away. */
|
||||||
lll_unlock (pd->lock);
|
lll_unlock (pd->lock);
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HP_TIMING_AVAIL
|
#if HP_TIMING_AVAIL
|
||||||
/* Remember the time when the thread was started. */
|
/* Remember the time when the thread was started. */
|
||||||
|
Reference in New Issue
Block a user