>>>>> "R" == Rick  <moonerent / hotmail.com> writes:

R> 2) The sixth client arrives and triggers an event. On that event how
R> do I wake up all 5 sleeping threads?

 Rather than using #sleep, you can perhaps use Thread::stop and use
 Thread#run to resume the threads


Guy Decoux