summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-10 16:11:09 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-10 16:11:09 +0000
commit2994c621a1c016e8d534914416e0aebdb8159147 (patch)
tree6d89d95b5a005205572cf4036ca91640d8994881 /error.c
parentd2b2159fbd9169b3370123a13bbb4e7721bceb7c (diff)
merge revision(s) 39501,39502:
* error.c: clarify a document of SignalException. Process.kill() doesn't have any guarantee when signal will be delivered. [Bug #7951] [ruby-core:52864] * error.c: clarify reason for sleep in SignalException example git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.c b/error.c
index 4b678d8957..5f8b98c1ed 100644
--- a/error.c
+++ b/error.c
@@ -1349,6 +1349,7 @@ syserr_eqq(VALUE self, VALUE exc)
*
* begin
* Process.kill('HUP',Process.pid)
+ * sleep # wait for receiver to handle signal sent by Process.kill
* rescue SignalException => e
* puts "received Exception #{e}"
* end