diff options
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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> * |