aboutsummaryrefslogtreecommitdiffstats
path: root/test/excludes/TestThread.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-13 08:39:30 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-13 08:39:30 +0000
commit4959308500dc93b53eac0f5947f5f1e677f820b5 (patch)
treecea0a90fc907b3ee1aaec51efcd29e71e159bd2a /test/excludes/TestThread.rb
parentea9eac473dfd0e61a892cd53e1d13be2df9aa682 (diff)
downloadruby-4959308500dc93b53eac0f5947f5f1e677f820b5.tar.gz
* 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
Diffstat (limited to 'test/excludes/TestThread.rb')
0 files changed, 0 insertions, 0 deletions