Advanced thread pool based on Qt