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:
parent
bf96ea6362
commit
b8e24f19b5
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
Wed Feb 27 22:54:27 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
|
* ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
|
||||||
|
|
2
vm.c
2
vm.c
|
@ -2306,7 +2306,7 @@ Init_VM(void)
|
||||||
* thr = Thread.new { sleep }
|
* thr = Thread.new { sleep }
|
||||||
* thr.status # => "sleep"
|
* thr.status # => "sleep"
|
||||||
* thr.exit
|
* thr.exit
|
||||||
* thr.status # => "false"
|
* thr.status # => false
|
||||||
*
|
*
|
||||||
* You can also use #alive? to tell if the thread is running or sleeping,
|
* You can also use #alive? to tell if the thread is running or sleeping,
|
||||||
* and #stop? if the thread is dead or sleeping.
|
* and #stop? if the thread is dead or sleeping.
|
||||||
|
|
Loading…
Add table
Reference in a new issue