| 36 | } |
| 37 | |
| 38 | void TaskGraphSystem::RemoveDependency(TaskGraphSystem* system) |
| 39 | { |
| 40 | CHECK(system); |
| 41 | if (!_dependencies.Contains(system)) |
| 42 | return; |
| 43 | system->_reverseDependencies.Remove(this); |
| 44 | _dependencies.Remove(system); |
| 45 | } |
| 46 | |
| 47 | void TaskGraphSystem::PreExecute(TaskGraph* graph) |
| 48 | { |