Added kill() methods for various classes to allow the user to abort the loop immediately without waiting for the current iteration to finish.
Also, the user now doesn't have to handle as many exceptions, simplifying usage.
The changed methods are specifically:
LoadDistributor.java
- removed
shutdown(long timeoutMilliseconds) throws InterruptedException - added
kill()
Physics.java
- removed
shutdown(long timeoutMilliseconds) throws InterruptedException - added
kill()
Loop.java
- simplified
stop()(removed exception, made timeout parameter optional) - added
kill()