C++ implement ThreadPool on windows