]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Remove INVALID_TD_P azanella/pthread-multiple-fixes
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 23 Aug 2021 19:02:30 +0000 (16:02 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 9 Jul 2025 22:57:21 +0000 (19:57 -0300)
Since it is not used anymore.

sysdeps/nptl/pthreadP.h

index 9012bcc09b9ac42721111e85c370ba0f20e570a8..d5bf7254af784bccd303266d88ef073939a35657 100644 (file)
@@ -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)