| 165 | } |
| 166 | |
| 167 | bool |
| 168 | Exec_CompilationTask::TaskDependencies::ClaimOutputProvidingTask( |
| 169 | const Exec_OutputKey::Identity &key) |
| 170 | { |
| 171 | const Exec_CompilerTaskSyncBase::ClaimResult result = |
| 172 | Exec_CompilationState::TaskSyncAccess::_GetOutputProvidingTaskSync( |
| 173 | &_compilationState).Claim(key, _task); |
| 174 | if (result == Exec_CompilerTaskSyncBase::ClaimResult::Wait) { |
| 175 | _hasDependencies = true; |
| 176 | } |
| 177 | return result == Exec_CompilerTaskSyncBase::ClaimResult::Claimed; |
| 178 | } |
| 179 | |
| 180 | bool |
| 181 | Exec_CompilationTask::TaskDependencies::ClaimCycleDetectingTask( |