Paul Gofman (@gofman) commented about dlls/ntdll/unix/sync.c:
when = now.QuadPart - when; }
/* Note that we yield after establishing the desired timeout */
NtYieldExecution();
if (!when) return STATUS_SUCCESS;
/* Note that we yield after establishing the desired timeout, but
we only care about the result of the yield for zero timeouts */
yield_result = NtYieldExecution();
here 'status' works the same I think, no need to keep special named yield_result.