mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
ffbd120efd
commit
47809f0934
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue