MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / get_thread_id_as_string

Function get_thread_id_as_string

src/tests/rpp/test_scheduler.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34using namespace std::string_literals;
35
36static std::string get_thread_id_as_string(std::thread::id id = std::this_thread::get_id())
37{
38 std::stringstream ss;
39 ss << id;
40 return ss.str();
41}
42
43static std::string simulate_nested_scheduling(auto worker, const auto& obs, std::vector<std::string>& out)
44{

Calls

no outgoing calls

Tested by

no test coverage detected