Abstract definition of rt-scheduler policy
authorRobin Gareus <robin@gareus.org>
Tue, 29 Aug 2017 18:35:36 +0000 (20:35 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 29 Aug 2017 18:35:36 +0000 (20:35 +0200)
commit467c801ce80b69abdb7efb4c23120532bed3fc96
treee0ed5e4592819392a5f37d6a8c44003dd96daf0f
parentdf659e91f1ad8b5d71838abc130dce8eacdf7cc1
Abstract definition of rt-scheduler policy

pthread-w32 does not support pthread_setschedparam() with
SCHED_FIFO and bails out. While pthread_create() simply ignores the policy
and sets the priority regadless.

This only affects ctrl-surface event-loops & AutomationWatch on Windows.
libs/ardour/automation_watch.cc
libs/backends/alsa/alsa_audiobackend.cc
libs/backends/alsa/alsa_midi.cc
libs/backends/coreaudio/coreaudio_backend.cc
libs/backends/portaudio/portaudio_backend.cc
libs/backends/portaudio/winmmemidi_output_device.cc
libs/pbd/pbd/base_ui.h
libs/pbd/pbd/pthread_utils.h