On Tue Jun 6 18:56:16 2023 +0000, Esme Povirk wrote:
I don't think this is safe. If you leave the critical section, the entry could be removed before you use it.
I would probably just make it a requirement that you hold the critical section when calling this function.