Equivalent to getThreadName(std::this_thread::get_id());
Declared in <folly/system/ThreadName.h>
<folly/system/ThreadName.h>
Optional<std::string> getCurrentThreadName();
The name of the current thread, or nothing on error.