diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | process.c | 11 |
2 files changed, 10 insertions, 6 deletions
@@ -1,3 +1,8 @@ +Fri Mar 24 17:20:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * process.c (rb_f_sleep): remove description about SIGALRM which + is not valid on the current implementation. [ruby-dev:28464] + Thu Mar 23 10:47:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (method_missing): should support argument splat in @@ -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 |