6 Jun
2023
6 Jun
'23
8:57 p.m.
On Tue Jun 6 20:45:19 2023 +0000, Esme Povirk wrote:
Having the list modified seems problematic as well. And you really don't want to call user code with a lock held if you can avoid it, but "user code" here may include getting the runtime id, navigating, and anything else you might need.. This is really tricky, and I have no good ideas at the moment. I guess uia_event is already ref-counted and you could copy the list with the lock held, but that feels like overkill.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2988#note_34846