lib/overlayer.rb
# we have a single scheduler thread, that is notified when the time may have changed
# like 
# def restart new_time
#  @current_time = xxx
#  broadcast # things have changed
# end

we have a single scheduler thread, that is notified when the time may have changed
like
def restart new_time
@current_time = xxx
broadcast # things have changed
end
we have a single scheduler thread that is notified when the time may have changed like def restart new_time @current_time = xxx broadcast # things have changed end
def start_thread continue_forever = false
    @thread = Thread.new { 
	  continue_until_past_all continue_forever 
	}
  end
def start_thread continue_forever = false @thread = Thread . new { continue_until_past_all continue_forever } end
we have a single scheduler thread, that is notified when the time may have changed
like
def restart new_time
@current_time = xxx
broadcast # things have changed
end
we have a single scheduler thread that is notified when the time may have changed like def restart new_time @current_time = xxx broadcast # things have changed end
continue_forever