MCPcopy Create free account
hub / github.com/TomClabault/HIPRT-Path-Tracer / set_thread_data

Method set_thread_data

src/Threads/ThreadManager.h:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78 template <typename T>
79 static void set_thread_data(const std::string& key, std::shared_ptr<T> state)
80 {
81 m_threads_states[key] = std::static_pointer_cast<void>(state);
82 }
83
84 template <class _Fn, class... _Args>
85 static void start_thread(std::string key, _Fn function, _Args... args)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected