From d9984f39d32f4cd692a35f4d803f7754ea262805 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Tue, 24 May 2022 02:56:59 +0900 Subject: 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. --- thread_pthread.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'thread_pthread.h') 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 -- cgit v1.2.1