C++ task2 multithreaded fs scan