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.