A wrapper for do-something-once thread functions.
Declared in <util/thread.h>
void
TraceThread(
std::string_view thread_name,
std::function<void()> thread_func);
| Name | Description |
|---|---|
| thread_name | Name assigned to the thread for logging and tracing. |
| thread_func | Function executed once on the new thread. |