summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-25 19:52:11 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-25 19:52:11 +0000
commit47809f09346a7a026b56635bf7a2b84069fbbe39 (patch)
tree2990654c3e3598ff2476d1902e989acc4df7fc7a
parentffbd120efdbcc65937413102086f28b4090e9ce5 (diff)
* 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
-rw-r--r--ChangeLog6
-rw-r--r--error.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ba9ce8cac..46d1af4faf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/error.c b/error.c
index 415c197013..5f8b98c1ed 100644
--- a/error.c
+++ b/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