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

Method _Interrupt

pxr/exec/exec/inputRecompilationTask.cpp:133–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void
134Exec_InputRecompilationTask::_Interrupt(Exec_CompilationState &compilationState)
135{
136 // Any outputs that we would have connected to the recompiled input
137 // are now potentially isolated.
138 for (const auto &sourceOutputs : _resultOutputsPerInputKey) {
139 for (const auto &maskedOutput : sourceOutputs) {
140 if (VdfOutput *const output = maskedOutput.GetOutput()) {
141 compilationState.GetInterruptState()
142 .AddPotentiallyIsolatedNode(&output->GetNode());
143 }
144 }
145 }
146
147 // Since this input never finished recompilation, it should be recompiled
148 // in the next round of compilation.
149 compilationState.GetInterruptState().AddInputRequiringRecompilation(_input);
150}
151
152PXR_NAMESPACE_CLOSE_SCOPE

Callers

nothing calls this directly

Calls 4

GetOutputMethod · 0.45
GetNodeMethod · 0.45

Tested by

no test coverage detected