summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 0f7bce4e1c..894c7909ea 100644
--- a/thread.c
+++ b/thread.c
@@ -1589,7 +1589,9 @@ rb_thread_exit(void)
* I/O, however). Does not invoke the scheduler (see <code>Thread#run</code>).
*
* c = Thread.new { Thread.stop; puts "hey!" }
+ * sleep 0.1 while c.status!='sleep'
* c.wakeup
+ * c.join
*
* <em>produces:</em>
*