aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2022-05-24 02:56:59 +0900
committerKoichi Sasada <ko1@atdot.net>2022-05-24 10:06:51 +0900
commitd9984f39d32f4cd692a35f4d803f7754ea262805 (patch)
tree935aa00da1be80acd99b25dfb7e5e845020ca70d /thread_pthread.h
parent741ac503309f32b5c39073f46a205c99a31d4b0e (diff)
downloadruby-d9984f39d32f4cd692a35f4d803f7754ea262805.tar.gz
remove `NON_SCALAR_THREAD_ID` support
`NON_SCALAR_THREAD_ID` shows `pthread_t` is non-scalar (non-pointer) and only s390x is known platform. However, the supporting code is very complex and it is only used for deubg print information. So this patch removes the support of `NON_SCALAR_THREAD_ID` and make the code simple.
Diffstat (limited to 'thread_pthread.h')
-rw-r--r--thread_pthread.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/thread_pthread.h b/thread_pthread.h
index 3f6db3ed03..8e8c1eb43d 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -30,10 +30,6 @@ struct rb_native_thread {
rb_nativethread_id_t thread_id;
-#ifdef NON_SCALAR_THREAD_ID
- rb_thread_id_string_t thread_id_string;
-#endif
-
#ifdef RB_THREAD_T_HAS_NATIVE_ID
int tid;
#endif