diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-29 17:23:19 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-29 17:25:23 +0200 |
commit | df659e91f1ad8b5d71838abc130dce8eacdf7cc1 (patch) | |
tree | b582234712c50990b17cf4095504bdf385007879 /libs/backends/alsa/alsa_midi.cc | |
parent | 6ab00534c0e8c372d759551e4f90a016918e71a9 (diff) |
Consolidate _realtime_pthread_create() into libpbd.
Diffstat (limited to 'libs/backends/alsa/alsa_midi.cc')
-rw-r--r-- | libs/backends/alsa/alsa_midi.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/backends/alsa/alsa_midi.cc b/libs/backends/alsa/alsa_midi.cc index 76738e9db5..348586ad20 100644 --- a/libs/backends/alsa/alsa_midi.cc +++ b/libs/backends/alsa/alsa_midi.cc @@ -21,9 +21,9 @@ #include <glibmm.h> #include "alsa_midi.h" -#include "rt_thread.h" #include "pbd/error.h" +#include "pbd/pthread_utils.h" #include "pbd/i18n.h" using namespace ARDOUR; @@ -72,7 +72,7 @@ static void * pthread_process (void *arg) int AlsaMidiIO::start () { - if (_realtime_pthread_create (SCHED_FIFO, -21, 100000, + if (pbd_realtime_pthread_create (SCHED_FIFO, -21, 100000, &_main_thread, pthread_process, this)) { if (pthread_create (&_main_thread, NULL, pthread_process, this)) { |