Skip to content

pw: loop: Make `enter()` and `leave()` unsafe and have `iterate()` automatically call them.

Tom Wagner requested to merge ryuukyu/pipewire-rs:loop into main

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

Merge request reports

Loading