Having signals enabled while holding a lock is messy as certain
recursions may occur. As such, disable signals before taking the mutex
and release signals again afterwards.
Thank you! This looks good, the ubuntu:devel unit test started to fail on main 6 days ago on its own, apparently the new meson version broke stuff again. I'll look at that first, and then rebase your branch.
Having signals enabled while holding a lock is messy as certain recursions may occur. As such, disable signals before taking the mutex and release signals again afterwards.