mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move internal __nptl_nthreads variable into libc
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -220,7 +220,8 @@ extern struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX];
|
||||
hidden_proto (__pthread_keys)
|
||||
|
||||
/* Number of threads running. */
|
||||
extern unsigned int __nptl_nthreads attribute_hidden;
|
||||
extern unsigned int __nptl_nthreads;
|
||||
libc_hidden_proto (__nptl_nthreads)
|
||||
|
||||
#ifndef __ASSUME_SET_ROBUST_LIST
|
||||
/* Negative if we do not have the system call and we can use it. */
|
||||
|
Reference in New Issue
Block a user