このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.4.0 リファレンスマニュアル

function rb_thread_current

VALUE rb_thread_current(void)

現在実行中のスレッドを返します。