summaryrefslogtreecommitdiff
path: root/thread_none.c
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_none.c
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_none.c')
-rw-r--r--thread_none.c1
1 files changed, 0 insertions, 1 deletions
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