Revert "ntdll: Implement NtYieldExecution() as usleep().".
commit3203f056687f62e3d74604da0efb6183989dfab4
authorMatteo Bruni <mbruni@codeweavers.com>
Fri, 19 Nov 2021 19:50:28 +0000 (19 20:50 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 22 Nov 2021 21:20:50 +0000 (22 22:20 +0100)
tree754da8be11756133cb2ee1e9bbfcb1957148f0c4
parentcee2d4c4c90887faa862f5d0dfc61e16312e9799
Revert "ntdll: Implement NtYieldExecution() as usleep().".

RĂ©mi found a regression caused by that patch. His analysis suggests
that it's probably correct for NtYieldExecution() to map to
sched_yield().

Let's revert the patch and fix the issue in a slightly different way.

This reverts commit b1a79c6b9c3ada0c34b1411b60879962f1815e4d.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
configure
configure.ac
dlls/ntdll/unix/sync.c
include/config.h.in