add std::thread

modify preset