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 /thread_none.c | |
parent | 741ac503309f32b5c39073f46a205c99a31d4b0e (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5933
Diffstat (limited to 'thread_none.c')
-rw-r--r-- | thread_none.c | 1 |
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 |