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

Method add_dependency

src/Threads/ThreadManager.h:222–225  ·  view source on GitHub ↗

* Adds a dependecy on 'dependency_key' from 'key' such that all the threads started with key * 'key' only start after all threads from 'dependency_key' are finished */

Source from the content-addressed store, hash-verified

220 * 'key' only start after all threads from 'dependency_key' are finished
221 */
222 static void add_dependency(const std::string& key, const std::string& dependency_key)
223 {
224 m_dependencies[key].insert(dependency_key);
225 }
226
227private:
228 template <class _Fn, class... _Args>

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected