Re: [PATCH v5 0/3] MR4243: rtworkq: free cancelled work items
6 Nov
2023
6 Nov
'23
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
850
Age (days ago)
850
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yuxuan Shui (@yshui)