Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/task_graph.cc
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | void run_serial() | ||||
| } | } | ||||
| } | } | ||||
| #ifdef WITH_CXX_GUARDEDALLOC | #ifdef WITH_CXX_GUARDEDALLOC | ||||
| MEM_CXX_CLASS_ALLOC_FUNCS("task_graph:TaskNode") | MEM_CXX_CLASS_ALLOC_FUNCS("task_graph:TaskNode") | ||||
| #endif | #endif | ||||
| }; | }; | ||||
| TaskGraph *BLI_task_graph_create(void) | TaskGraph *BLI_task_graph_create() | ||||
| { | { | ||||
| return new TaskGraph(); | return new TaskGraph(); | ||||
| } | } | ||||
| void BLI_task_graph_free(TaskGraph *task_graph) | void BLI_task_graph_free(TaskGraph *task_graph) | ||||
| { | { | ||||
| delete task_graph; | delete task_graph; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||