mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
* allocatestack.c (allocate_stack): Make code compile if
__ASSUME_PRIVATE_FUTEX is set.
This commit is contained in:
parent
339dbf0e39
commit
d4201cc4ba
@ -1,3 +1,8 @@
|
|||||||
|
2007-06-17 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* allocatestack.c (allocate_stack): Make code compile if
|
||||||
|
__ASSUME_PRIVATE_FUTEX is set.
|
||||||
|
|
||||||
2007-06-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
2007-06-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S:
|
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S:
|
||||||
|
@ -516,9 +516,11 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
|
|||||||
__pthread_multiple_threads = *__libc_multiple_threads_ptr = 1;
|
__pthread_multiple_threads = *__libc_multiple_threads_ptr = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ASSUME_PRIVATE_FUTEX
|
||||||
/* The thread must know when private futexes are supported. */
|
/* The thread must know when private futexes are supported. */
|
||||||
pd->header.private_futex = THREAD_GETMEM (THREAD_SELF,
|
pd->header.private_futex = THREAD_GETMEM (THREAD_SELF,
|
||||||
header.private_futex);
|
header.private_futex);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NEED_DL_SYSINFO
|
#ifdef NEED_DL_SYSINFO
|
||||||
/* Copy the sysinfo value from the parent. */
|
/* Copy the sysinfo value from the parent. */
|
||||||
|
Loading…
Reference in New Issue
Block a user