Game loop subsystem for realtime simulation. Time will only progress when a step call is made.
Constructor
Interrupt the waiting thread
Perform a step in the simulation. Actual processing is done in a seperate thread.
Wait for the specified time, or faster if interrupted
time – time to wait
func – the function to call
Tk Inter threading
Threadpool