= private = protected
current()
Returns the currently executing thread.
Thread.current #=> #<Thread:0x401bdf4c run>
/* * call-seq: * Thread.current => thread * * Returns the currently executing thread. * * Thread.current #=> #<Thread:0x401bdf4c run> */ VALUE rb_thread_current() { return curr_thread->thread; }