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