new thread pooolplugin structure