20 LogPrintf(
"%s thread start\n", thread_name);
22 LogPrintf(
"%s thread exit\n", thread_name);
23 }
catch (
const std::exception& e) {
void PrintExceptionContinue(const std::exception *pex, std::string_view thread_name)
void ThreadRename(const std::string &)
Rename a thread both in terms of an internal (in-memory) name as well as its system thread name.
void TraceThread(std::string_view thread_name, std::function< void()> thread_func)
A wrapper for do-something-once thread functions.