[PATCH 0/1] MR29: mfplat: Avoid a race condition when releasing a tracked sample.

Giovanni Mascellani (@giomasce) wine at gitlab.winehq.org
Tue May 3 08:21:38 CDT 2022


Right now, if the same tracked sample is released at the same time
from two different threads it might happen that neither of them calls
the callback, because they might go through the critical section at
the same time (while neither has decremented the reference count yet).

Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/29



More information about the wine-devel mailing list