pipewire/spa/include/spa/support
Wim Taymans 1191c18641 thread: add thread.reset-on-fork
Add a new thread.reset-on-fork property for the thread creator. when set
to false, it will clear the default SCHED_RESET_ON_FORK flag and new RT
threads will be able to fork and inherit the rt policy and priority.

When creating a thread make sure we set SCHED_RESET_ON_FORK when the
thread.reset-on-fork property is not explicitly false;

module-rt needs to preserve the SCHED_RESET_ON_FORK flag when changing
the policy.

Set thread.reset-on-fork=false explicitly for JACK clients to restore
the JACK behaviour where implementations can fork and inherit the RT
policy and priority by default.

Fixes #4966
2025-11-06 11:55:20 +01:00
..
cpu.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
dbus.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
i18n.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
log-impl.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
log.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
loop.h loop: add docs about the locking 2025-06-10 18:00:01 +02:00
plugin-loader.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
plugin.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
system.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
thread.h thread: add thread.reset-on-fork 2025-11-06 11:55:20 +01:00