Skip to content
Snippets Groups Projects
Forked from wine / wine
56342 commits behind the upstream repository.
Stefan Dösinger's avatar
Stefan Dösinger authored
Chromium signals the wait semaphore and calls DeregisterWaitEx with
CompletionHandle = INVALID_HANDLE_VALUE in close succession. Sometimes
the worker thread decides to run the callback, but before it sets
CallbackInProgress RtlDeregisterWaitEx decides that the callback is not
running and returns STATUS_SUCCESS. Chromium then releases resources
that the callback needs to run, resulting in random crashes.

Signed-off-by: Stefan Dösinger's avatarStefan Dösinger <stefan@codeweavers.com>
Signed-off-by: default avatarSebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
af35aada
History