Project

General

Profile

« Previous | Next » 

Revision 712a570f

Added by naruse (Yui NARUSE) about 10 years ago

  • vm_core.h (rb_thread_t): add th->name.

  • vm.c (th_init): initialize th->name.

  • thread.c (Init_Thread): add Thread.name and Thread.name=.

  • thread.c (rb_thread_inspect): show thread's name if set.

  • thread.c (rb_thread_getname): defined.

  • thread.c (rb_thread_setname): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e