/// <inheritdoc /> public void CriticalSection(CriticalSectionPipelineOp criticalSectionOp) { if (inCriticalSection) { if (criticalSectionOp.InCriticalSection) { Debug.LogError("CriticalSectionPipelineBlock received critical section start during another critical section"); } else { inCriticalSection = false; ReleaseCriticalSectionOps(); } } else { if (criticalSectionOp.InCriticalSection) { inCriticalSection = true; } else { Debug.LogError("CriticalSectionPipelineBlock received critical section stop outside a critical section"); } } }
/// <inheritdoc /> public void CriticalSection(CriticalSectionPipelineOp criticalSectionOp) { }