mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
We can add a PTHREAD_PRIO_INHERIT lock to the loop to protect the callbacks and then use this to update shared data in an RT-safe way. This can avoid some invoke calls that require a context switch but also due to the nature of epoll cause locking in the kernel with non-RT guarantees. Because we use PRIO_INHERIT, the code executed in the lock must not use any RT-unsafe functions. |
||
|---|---|---|
| .. | ||
| cpu-arm.c | ||
| cpu-riscv.c | ||
| cpu-x86.c | ||
| cpu.c | ||
| dbus.c | ||
| evl-plugin.c | ||
| evl-system.c | ||
| journal.c | ||
| logger.c | ||
| loop.c | ||
| meson.build | ||
| node-driver.c | ||
| null-audio-sink.c | ||
| plugin.c | ||
| system.c | ||