mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix invalid code to make it syntax highlighted
This commit is contained in:
parent
a7b5018495
commit
df6f5c44af
1 changed files with 1 additions and 1 deletions
2
vm.c
2
vm.c
|
@ -3057,7 +3057,7 @@ Init_VM(void)
|
|||
*
|
||||
* The class method ::kill, is meant to exit a given thread:
|
||||
*
|
||||
* thr = Thread.new { ... }
|
||||
* thr = Thread.new { sleep }
|
||||
* Thread.kill(thr) # sends exit() to thr
|
||||
*
|
||||
* Alternatively, you can use the instance method #exit, or any of its
|
||||
|
|
Loading…
Reference in a new issue