diff options
author | Koichi Sasada <ko1@atdot.net> | 2022-05-24 02:56:59 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2022-05-24 10:06:51 +0900 |
commit | d9984f39d32f4cd692a35f4d803f7754ea262805 (patch) | |
tree | 935aa00da1be80acd99b25dfb7e5e845020ca70d /vm_core.h | |
parent | 741ac503309f32b5c39073f46a205c99a31d4b0e (diff) | |
download | ruby-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 { |