pipewire/spa/plugins/support
Wim Taymans 6cf320e387 loop: handle queue overflow better
When a queue overflows we place the queue back in the stack and try
again. Because it's at the top of the stack we take exactly the same
queue and keep on looping forever if the other thread is blocked for
some reason.

Instead, mark the queue as overflowed and only place it back in the
stack when we have flushed it.

This avoids a deadlock when the main-thread invokes on the data loop
and blocks and when the data loop invokes on the main-thread and
overflows the queue.
2024-11-14 15:58:09 +01:00
..
cpu-arm.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
cpu-riscv.c spa/support: implement RISCV V CPU detection 2024-09-18 10:40:48 +00:00
cpu-x86.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
cpu.c spa: support: use feature macro from config.h 2024-09-18 22:29:11 +02:00
dbus.c spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
evl-plugin.c spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
evl-system.c spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
journal.c journal: prepend code location to messages at debug log levels 2024-04-28 16:02:28 +03:00
logger.c Define setlinebuf for MSVC 2024-07-01 15:28:58 +00:00
loop.c loop: handle queue overflow better 2024-11-14 15:58:09 +01:00
meson.build meson: Search for and link to stdthreads 2024-09-23 08:09:45 +00:00
node-driver.c node-driver: 5 seconds of freewheel timeout is enough 2024-07-12 12:25:18 +02:00
null-audio-sink.c json: add helper function to parse channel positions 2024-09-18 09:54:34 +02:00
plugin.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
system.c pipewire-alsa: Propagate errors from eventfd(). 2024-02-19 14:16:26 +00:00