Modify the framework for applying Pthread Pool (with a compilation
error)