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_none.c | 1 - 1 file changed, 1 deletion(-) (limited to 'thread_none.c') diff --git a/thread_none.c b/thread_none.c index 18986d3c5b..b57e082543 100644 --- a/thread_none.c +++ b/thread_none.c @@ -130,7 +130,6 @@ Init_native_thread(rb_thread_t *main_th) { // no TLS setup and no thread id setup ruby_thread_set_native(main_th); - fill_thread_id_str(main_th); } static void -- cgit v1.2.1