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

Method register_node

benchmarks/tbb/flow_graph.h:717–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715};
716
717inline void graph::register_node(graph_node *n) {
718 n->next = NULL;
719 {
720 spin_mutex::scoped_lock lock(nodelist_mutex);
721 n->prev = my_nodes_last;
722 if (my_nodes_last) my_nodes_last->next = n;
723 my_nodes_last = n;
724 if (!my_nodes) my_nodes = n;
725 }
726}
727
728inline void graph::remove_node(graph_node *n) {
729 {

Callers 1

graph_nodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected