Rémi Bernon : dinput/tests: Dynamically allocate async operation handlers.
30 Jan
2023
30 Jan
'23
9:23 p.m.
Module: wine Branch: master Commit: 0899dd0bb58d697c4ed9ecf6f95901cf4c3200db URL: https://gitlab.winehq.org/wine/wine/-/commit/0899dd0bb58d697c4ed9ecf6f95901c... 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(-)
1048
Age (days ago)
1048
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard