MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenUSD / ClaimOutputProvidingTask

Method ClaimOutputProvidingTask

pxr/exec/exec/compilationTask.cpp:167–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167bool
168Exec_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
180bool
181Exec_CompilationTask::TaskDependencies::ClaimCycleDetectingTask(

Callers 1

_CompileMethod · 0.80

Calls 1

ClaimMethod · 0.45

Tested by

no test coverage detected