Da Piatok 10 Februr 2006 21:29 Joel VanderWerf napsal:
> As I understand it, a latch would not serve this purpose. A latch stops
> newly created threads from running until the latch is opened. In ruby
> this would be easy to implement using Thread.stop within the block of
> each thread. Then another thread can wakeup those threads as needed:
>
>    th = Thread.new { Thread.stop; do_some_work }
>    prepare_for_th_to_run
>    th.wakeup

For some strange reason I thought you were using looping worker threads with 
short execution time. Ah well.

David Vallner