This is my custom threadpool framework...welcome to optimize my code.think you