6 Mar
2013
6 Mar
'13
4:49 a.m.
Graham <graham.knap(a)gmail.com> writes:
This patch is vaguely related to bug 24558. It eliminates a few syscalls in NtDelayExecution:
1. If the caller requests a zero-wait yield, then do just that, and nothing more.
That's what the existing code already does.
2. If you're about to block on select(), then I don't see any point in preceding that with a call to sched_yield().
This was added for a reason; most likely you'll have to write tests. -- Alexandre Julliard julliard(a)winehq.org