Re: [PATCH v5 0/3] MR4243: rtworkq: free cancelled work items
Nov. 6, 2023
5:28 p.m.
On Mon Nov 6 14:46:29 2023 +0000, Yuxuan Shui wrote:
demonstrate the leak? or demonstrate the race condition? in the first case, our unit test already does. in the second case, i don't see how that's useful? the race condition is pretty clearly there, simply based on the fact that the callback might be running when you try to cancel it. https://gist.github.com/yshui/2f1c5c8ce9d80e9eef1db4eab51344d0 this demonstrate the `CloseThreadpool` vs running callback race.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4243#note_51113
871
Age (days ago)
871
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yuxuan Shui (@yshui)