Module: wine
Branch: master
Commit: 0899dd0bb58d697c4ed9ecf6f95901cf4c3200db
URL: https://gitlab.winehq.org/wine/wine/-/commit/0899dd0bb58d697c4ed9ecf6f95901…
Author: Rémi Bernon <rbernon(a)codeweavers.com>
Date: Mon Jan 30 13:32:43 2023 +0100
dinput/tests: Dynamically allocate async operation handlers.
Instead of passing them from the stack. The async operation is executed
in a thread pool, which might Release its reference asynchronously and
call a stale function pointer if it is sequenced after the stack
invalidation.
---
dlls/dinput/tests/force_feedback.c | 120 ++++++++++++++++++++++++++-----------
1 file changed, 86 insertions(+), 34 deletions(-)