зеркало из https://github.com/github/ruby.git
[DOC] Fix invalid code to make it syntax highlighted
This commit is contained in:
Родитель
a7b5018495
Коммит
df6f5c44af
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче