= private = protected
main()
Returns the main thread for the process.
Thread.main #=> #<Thread:0x401bdf4c run>
/* * call-seq: * Thread.main => thread * * Returns the main thread for the process. * * Thread.main #=> #<Thread:0x401bdf4c run> */ VALUE rb_thread_main() { return main_thread->thread; }