@brief Gets ID of currently running threading in windows systems. On unix, nothing is returned.
| 1070 | # if !ELPP_USE_STD_THREADING |
| 1071 | /// @brief Gets ID of currently running threading in windows systems. On unix, nothing is returned. |
| 1072 | static 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() |
| 1081 | static std::string getCurrentThreadId(void) { |
no outgoing calls
no test coverage detected