mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Because we write from multiple threads, a thread might write a second wakeup and a concurrent thread might remove all wakeups before seeing it's error and retrying, which would leave the eventfd in a wrong state. With a semaphore, things balance out and the eventfd always ends up in a consistent state. |
||
|---|---|---|
| .. | ||
| ctl_pipewire.c | ||
| meson.build | ||
| pcm_pipewire.c | ||