1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm.c: Typo in overview for example of Thread#status returning false

Reported by Lee Jarvis


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-02-27 17:43:25 +00:00
parent bf96ea6362
commit b8e24f19b5
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Feb 28 02:42:00 2013 Zachary Scott <zachary@zacharyscott.net>
* vm.c: Typo in overview for example of Thread#status returning false
Reported by Lee Jarvis
Wed Feb 27 22:54:27 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS

2
vm.c
View file

@ -2306,7 +2306,7 @@ Init_VM(void)
* thr = Thread.new { sleep }
* thr.status # => "sleep"
* thr.exit
* thr.status # => "false"
* thr.status # => false
*
* You can also use #alive? to tell if the thread is running or sleeping,
* and #stop? if the thread is dead or sleeping.