Give the thread millis
milliseconds to finish what it's doing, then interrupt it.
Give the thread 500 seconds to wrap up what it's doing and then interrupt it.
Give the thread 500 seconds to wrap up what it's doing and then interrupt it.
Sets the name on the underlying thread so that it's more easily identifiable.
Class that is capable of reading output from a sub-process (or arbitrary other InputStream) and processing it through any method that accepts a String, while managing the extra thread necessary to ensure nothing blocks.