MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / activate

Method activate

benchmarks/tbb/flow_graph.h:902–907  ·  view source on GitHub ↗

Activates a node that was created in the inactive state

Source from the content-addressed store, hash-verified

900
901 //! Activates a node that was created in the inactive state
902 void activate() {
903 spin_mutex::scoped_lock lock(my_mutex);
904 my_active = true;
905 if ( !my_successors.empty() )
906 spawn_put();
907 }
908
909 template<typename Body>
910 Body copy_function_object() {

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected