1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* allocatestack.c (allocate_stack): Make code compile if

__ASSUME_PRIVATE_FUTEX is set.
This commit is contained in:
Ulrich Drepper
2007-06-17 16:43:57 +00:00
parent 339dbf0e39
commit d4201cc4ba
2 changed files with 7 additions and 0 deletions

View File

@ -516,9 +516,11 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
__pthread_multiple_threads = *__libc_multiple_threads_ptr = 1;
#endif
#ifndef __ASSUME_PRIVATE_FUTEX
/* The thread must know when private futexes are supported. */
pd->header.private_futex = THREAD_GETMEM (THREAD_SELF,
header.private_futex);
#endif
#ifdef NEED_DL_SYSINFO
/* Copy the sysinfo value from the parent. */