6 Oct
2023
6 Oct
'23
6:23 p.m.
On Fri Oct 6 18:13:47 2023 +0000, Esme Povirk wrote:
What about an event instead? So basically, in `uia_com_win_event_clientside_provider_callback` you would set an event. Then in this loop: * WaitForSingleObject on the event with a timeout of `TIME_SINCE_LAST_CALLBACK_TIMEOUT`. * Return TRUE if the full timeout elapsed. * Return FALSE if WaitForSingleObject timed out. * Else, continue. I suppose this would require locking to ensure that other threads don't try to set a stale event handle.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4024#note_47894