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

Function getCurrentThreadId

include/thundersvm/util/log.h:1072–1078  ·  view source on GitHub ↗

@brief Gets ID of currently running threading in windows systems. On unix, nothing is returned.

Source from the content-addressed store, hash-verified

1070 # if !ELPP_USE_STD_THREADING
1071/// @brief Gets ID of currently running threading in windows systems. On unix, nothing is returned.
1072static std::string getCurrentThreadId(void) {
1073 std::stringstream ss;
1074# if (ELPP_OS_WINDOWS)
1075 ss << GetCurrentThreadId();
1076# endif // (ELPP_OS_WINDOWS)
1077 return ss.str();
1078}
1079# else
1080/// @brief Gets ID of currently running threading using std::this_thread::get_id()
1081static std::string getCurrentThreadId(void) {

Callers 3

buildMethod · 0.85
setThreadNameMethod · 0.85
getThreadNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected