summaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-24 08:22:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-24 08:22:36 +0000
commit79f17ea7695d6cd7d4871aaf2cc0aaa32fb94098 (patch)
tree2b4c3682bd81816adb17a3fe7141082a7fb91f39 /process.c
parent9658c9f86d803e6ff35472cfe6d8fc7434540604 (diff)
downloadruby-79f17ea7695d6cd7d4871aaf2cc0aaa32fb94098.tar.gz
ruby-79f17ea7695d6cd7d4871aaf2cc0aaa32fb94098.tar.xz
ruby-79f17ea7695d6cd7d4871aaf2cc0aaa32fb94098.zip
* process.c (rb_f_sleep): remove description about SIGALRM which
is not valid on the current implementation. [ruby-dev:28464] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/process.c b/process.c
index 8f1a6fd77..abdba730b 100644
--- a/process.c
+++ b/process.c
@@ -1549,12 +1549,11 @@ rb_f_system(argc, argv)
* call-seq:
* sleep([duration]) => fixnum
*
- * Suspends the current thread for _duration_ seconds (which may be
- * any number, including a +Float+ with fractional seconds). Returns the actual
- * number of seconds slept (rounded), which may be less than that asked
- * for if the thread was interrupted by a +SIGALRM+, or if
- * another thread calls <code>Thread#run</code>. Zero arguments
- * causes +sleep+ to sleep forever.
+ * Suspends the current thread for _duration_ seconds (which may be any number,
+ * including a +Float+ with fractional seconds). Returns the actual number of
+ * seconds slept (rounded), which may be less than that asked for if another
+ * thread calls <code>Thread#run</code>. Zero arguments causes +sleep+ to sleep
+ * forever.
*
* Time.new #=> Wed Apr 09 08:56:32 CDT 2003
* sleep 1.2 #=> 1