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

Method ClaimCycleDetectingTask

pxr/exec/exec/compilationTask.cpp:180–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180bool
181Exec_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
193void
194Exec_CompilationTask::TaskDependencies::WaitOnInputRecompilationTask(

Callers 2

_CompileMethod · 0.80
_CompileMethod · 0.80

Calls 1

ClaimMethod · 0.45

Tested by

no test coverage detected