pw: loop: Make `enter()` and `leave()` unsafe and have `iterate()` automatically call them.
Not calling those functions before iterate
may be unsound, for example pw_thread_loop does locking/unlocking
in those functions.
This may still be done manually with unsafe, enter()
, leave()
and iterate_unguarded()
.
Edited by Tom Wagner