rb_thread_t contained native_thread_data_t to represent
thread implementation dependent data. This patch separates
them and rename it rb_native_thread and point it from rb_thraed_t.
Now, 1 Ruby thread (rb_thread_t) has 1 native thread (rb_native_thread).
introduce struct
rb_native_thread
rb_thread_t
containednative_thread_data_t
to representthread implementation dependent data. This patch separates
them and rename it
rb_native_thread
and point it fromrb_thraed_t
.Now, 1 Ruby thread (
rb_thread_t
) has 1 native thread (rb_native_thread
).