Signal end-of-stream after creating latch
The output end-of-stream notification from the last shader could theoretically arrive before the latch for detecting it is created, which might cause waiting on the latch indefinitely. Create the latch before signaling end of stream so that it's guaranteed to be set before the end-of-stream signal arrives. PiperOrigin-RevId: 532056472 (cherry picked from commit 53c379cb98874c7697965a82fbd2aa29063a238b)
Showing
with
1 additions
and
1 deletions
Please
register
or
sign in
to comment