зеркало из https://github.com/github/ruby.git
* error.c: clarify reason for sleep in SignalException example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ffbd120efd
Коммит
47809f0934
|
@ -1,4 +1,8 @@
|
|||
Wed Feb 20 17:22:21 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
Tue Feb 26 04:50:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* error.c: clarify reason for sleep in SignalException example
|
||||
|
||||
Tue Feb 26 03:47:00 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* error.c: clarify a document of SignalException. Process.kill()
|
||||
doesn't have any guarantee when signal will be delivered.
|
||||
|
|
2
error.c
2
error.c
|
@ -1349,7 +1349,7 @@ syserr_eqq(VALUE self, VALUE exc)
|
|||
*
|
||||
* begin
|
||||
* Process.kill('HUP',Process.pid)
|
||||
* sleep
|
||||
* sleep # wait for receiver to handle signal sent by Process.kill
|
||||
* rescue SignalException => e
|
||||
* puts "received Exception #{e}"
|
||||
* end
|
||||
|
|
Загрузка…
Ссылка в новой задаче