MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / setThreadName

Method setThreadName

include/thundersvm/util/log.h:3704–3706  ·  view source on GitHub ↗

@brief Sets thread name for current thread. Requires std::thread

Source from the content-addressed store, hash-verified

3702 }
3703 /// @brief Sets thread name for current thread. Requires std::thread
3704 static inline void setThreadName(const std::string& name) {
3705 ELPP->setThreadName(name);
3706 }
3707 static inline std::string getThreadName() {
3708 return ELPP->getThreadName(base::threading::getCurrentThreadId());
3709 }

Callers

nothing calls this directly

Calls 1

setThreadNameMethod · 0.45

Tested by

no test coverage detected