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