pipewire/src
Wim Taymans 8c1a69f1b5 loop: don't usleep when queue is full
When the queue is full, before this patch we used to go into usleep in
the hope that the other thread will run and empty the queue and that we
can retry after the usleep.

This however does not always work because the other thread might be waiting
for the thread that does the invoke call and we lock forever.

Therefore we should always try to make progress in some way. Instead of
waiting, allocate an (or use the previously allocated) overflow queue and
write to that one. We can chain multiple overflow queues together as many
as we need (but we might want to bound that as well).

The loop.retry-timeout property is now deprecated.

See #4114
2024-08-06 12:05:11 +02:00
..
daemon conf: increase priority of dummy and freewheel driver 2024-08-01 17:18:08 +02:00
examples modules: accept and produce UMP only 2024-07-30 09:38:40 +02:00
gst gst: stream: Destroy stream before clearing variable 2024-07-02 20:36:57 +02:00
modules spa-node: always set clock.quantum-limit property 2024-08-05 18:41:18 +02:00
pipewire loop: don't usleep when queue is full 2024-08-06 12:05:11 +02:00
tests pw-container: use smaller path for temporary file 2024-06-27 21:18:06 +00:00
tools pw-cli: support arbitrary large params and commands 2024-07-31 17:36:45 +02:00
meson.build meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00