|
Blender V5.0
|
Go to the source code of this file.
Classes | |
| struct | TaskGraph |
| struct | TaskNode |
Functions | |
| TaskGraph * | BLI_task_graph_create () |
| void | BLI_task_graph_free (TaskGraph *task_graph) |
| void | BLI_task_graph_work_and_wait (TaskGraph *task_graph) |
| TaskNode * | BLI_task_graph_node_create (TaskGraph *task_graph, TaskGraphNodeRunFunction run, void *user_data, TaskGraphNodeFreeFunction free_func) |
| bool | BLI_task_graph_node_push_work (TaskNode *task_node) |
| void | BLI_task_graph_edge_create (TaskNode *from_node, TaskNode *to_node) |
Task graph.
Definition in file task_graph.cc.
| TaskGraph * BLI_task_graph_create | ( | void | ) |
Definition at line 137 of file task_graph.cc.
References BLI_task_scheduler_num_threads(), and TaskNode::successors.
| void BLI_task_graph_free | ( | TaskGraph * | task_graph | ) |
Definition at line 101 of file task_graph.cc.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), and ExtractionGraph::work_and_wait().
| TaskNode * BLI_task_graph_node_create | ( | TaskGraph * | task_graph, |
| TaskGraphNodeRunFunction | run, | ||
| void * | user_data, | ||
| TaskGraphNodeFreeFunction | free_func ) |
Definition at line 115 of file task_graph.cc.
References free_func(), and TaskGraph::nodes.
| bool BLI_task_graph_node_push_work | ( | TaskNode * | task_node | ) |
Definition at line 125 of file task_graph.cc.
References BLI_task_scheduler_num_threads(), and TaskNode::run_serial().
| void BLI_task_graph_work_and_wait | ( | TaskGraph * | task_graph | ) |
Definition at line 106 of file task_graph.cc.
References UNUSED_VARS.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), and ExtractionGraph::work_and_wait().