aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.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 /vm_core.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 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index f25b74dcdd..4de0777292 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -896,8 +896,6 @@ typedef struct rb_ensure_list {
struct rb_ensure_entry entry;
} rb_ensure_list_t;
-typedef char rb_thread_id_string_t[sizeof(rb_nativethread_id_t) * 2 + 3];
-
typedef struct rb_fiber_struct rb_fiber_t;
struct rb_waiting_list {