A simple thread pool implemented in java.