ntdll: Don't force submit wait in TpSetWait if timeout is 0.
commit3ed3e031ffbbc3f80095e4d809ba1c55bd8e59f0
authorRémi Bernon <rbernon@codeweavers.com>
Thu, 11 Feb 2021 09:53:47 +0000 (11 10:53 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 11 Feb 2021 21:26:36 +0000 (11 22:26 +0100)
tree4887babefa5e8d3e13e434552fc3fcc0f3e7058e
parentde6fce48ac2d4a438269b06e94d43d61e77e424e
ntdll: Don't force submit wait in TpSetWait if timeout is 0.

It'll be submitted eventually, no need to force it and it makes support
for WT_EXECUTEINWAITTHREAD flag harder.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47843
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/threadpool.c