Relay Wine STDIO with SCHED_OTHER

I haven't seen this cause issues myself, but it would not surprise me if
a plugin that produces a constant stream of FIXMEs would steal resources
from audio processing if the threads that are relaying those messages
are set to SCHED_FIFO.
This commit is contained in:
Robbert van der Helm
2021-01-24 17:02:56 +01:00
parent 19fd99b58e
commit ffe46e225c
3 changed files with 16 additions and 1 deletions
+3
View File
@@ -78,6 +78,9 @@ TODO: Add an updated screenshot with some fancy VST3-only plugins to the readme
to realtime priority. This prevents changing the scheduling policy of your
host's GUI thread if your host instantiates plugins from its GUI thread like
REAPER does.
- Relaying messages printed by the plugin and Wine is now done without
realtime priority, as this could in theory cause issues with plugins that
produce a lot of fixmes.
- The realtime scheduling priorities of all audio threads on the Wine plugin
host are now periodically synchronized with those of the host's audio
threads.