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.
This commit is contained in:
Koichi Sasada 2022-05-24 02:56:59 +09:00
parent 741ac50330
commit d9984f39d3
Notes: git 2022-05-24 10:07:24 +09:00
7 changed files with 10 additions and 61 deletions

View file

@ -30,10 +30,6 @@ struct rb_native_thread {
rb_nativethread_id_t thread_id;
#ifdef NON_SCALAR_THREAD_ID
rb_thread_id_string_t thread_id_string;
#endif
#ifdef RB_THREAD_T_HAS_NATIVE_ID
int tid;
#endif