Alexandre Julliard pushed to branch master at wine / wine
Commits: b6b84ba2 by Conor McCarthy at 2025-06-19T10:30:38+02:00 rtworkq/tests: Test closing a timer or event handle after submission.
Windows allows closure of a waitable timer handle while a work item is waiting on it. Also, the current Wine ntdll implementation calls NtWaitForMultipleObjects() on multiple handles if multiple items are pending, and if one handle is not valid, no items will execute.
- - - - - e42d2efe by Conor McCarthy at 2025-06-19T10:30:40+02:00 ntdll/tests: Test early closure of handles used for threadpool waits.
- - - - - 069708c8 by Conor McCarthy at 2025-06-19T10:30:40+02:00 ntdll: Initialise waitable handles with NULL.
All waitable objects use NULL as their invalid value.
- - - - - acf72ed1 by Conor McCarthy at 2025-06-19T10:30:42+02:00 ntdll: Duplicate handles for thread pool waits.
Supports waitable timer closure while pending, and we must not wait on invalid handles generally. Details are in code comments.
- - - - -
3 changed files:
- dlls/ntdll/tests/threadpool.c - dlls/ntdll/threadpool.c - dlls/rtworkq/tests/rtworkq.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/cf181338ddc67c7fc4e6cd6b646a92...