| 178 | } |
| 179 | |
| 180 | bool |
| 181 | Exec_CompilationTask::TaskDependencies::ClaimCycleDetectingTask( |
| 182 | const VdfNode *const node) |
| 183 | { |
| 184 | const Exec_CompilerTaskSyncBase::ClaimResult result = |
| 185 | Exec_CompilationState::TaskSyncAccess::_GetCycleDetectingTaskSync( |
| 186 | &_compilationState).Claim(node, _task); |
| 187 | if (result == Exec_CompilerTaskSyncBase::ClaimResult::Wait) { |
| 188 | _hasDependencies = true; |
| 189 | } |
| 190 | return result == Exec_CompilerTaskSyncBase::ClaimResult::Claimed; |
| 191 | } |
| 192 | |
| 193 | void |
| 194 | Exec_CompilationTask::TaskDependencies::WaitOnInputRecompilationTask( |