aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-08-23 16:02:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-07-09 19:57:21 -0300
commite98621d54ab4a3b414be196ec564f1c63f149f42 (patch)
treeba96d18e650f56defb7a1d01b179aa1e56533886
parent846c2b23e2f0fa1315d008927c9dd6e5946f3798 (diff)
downloadglibc-azanella/pthread-multiple-fixes.zip
glibc-azanella/pthread-multiple-fixes.tar.gz
glibc-azanella/pthread-multiple-fixes.tar.bz2
nptl: Remove INVALID_TD_Pazanella/pthread-multiple-fixes
Since it is not used anymore.
-rw-r--r--sysdeps/nptl/pthreadP.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdeps/nptl/pthreadP.h b/sysdeps/nptl/pthreadP.h
index 9012bcc..d5bf725 100644
--- a/sysdeps/nptl/pthreadP.h
+++ b/sysdeps/nptl/pthreadP.h
@@ -229,11 +229,6 @@ libc_hidden_proto (__pthread_tpp_change_priority)
extern int __pthread_current_priority (void);
libc_hidden_proto (__pthread_current_priority)
-/* This will not catch all invalid descriptors but is better than
- nothing. And if the test triggers the thread descriptor is
- guaranteed to be invalid. */
-#define INVALID_TD_P(pd) __builtin_expect ((pd)->tid <= 0, 0)
-
extern void __pthread_unwind (__pthread_unwind_buf_t *__buf)
__cleanup_fct_attribute __attribute ((__noreturn__))
#if !defined SHARED && !IS_IN (libpthread)