summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/pthread_utils.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-10-30 15:57:39 +0100
committerRobin Gareus <robin@gareus.org>2017-10-30 16:31:38 +0100
commitc0dbe8eaaf45369b4fc40c881ff4d60bedef6b81 (patch)
tree45d3866a647756941534d743cdf36d712784d3dc /libs/pbd/pbd/pthread_utils.h
parentfee03dc467fe0e96f2d1d8035d66da1cdadd1c3b (diff)
Move coreaudio_set_realtime_policy into libpbd
Diffstat (limited to 'libs/pbd/pbd/pthread_utils.h')
-rw-r--r--libs/pbd/pbd/pthread_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pbd/pbd/pthread_utils.h b/libs/pbd/pbd/pthread_utils.h
index a1660eb073..e917fa27ce 100644
--- a/libs/pbd/pbd/pthread_utils.h
+++ b/libs/pbd/pbd/pthread_utils.h
@@ -60,7 +60,8 @@ LIBPBD_API int pbd_realtime_pthread_create (
void *(*start_routine) (void *),
void *arg);
-LIBPBD_API int pbd_set_thread_priority (pthread_t, const int policy, int priority);
+LIBPBD_API int pbd_set_thread_priority (pthread_t, const int policy, int priority);
+LIBPBD_API bool pbd_mach_set_realtime_policy (pthread_t thread_id, double period_ns);
namespace PBD {
LIBPBD_API extern void notify_event_loops_about_thread_creation (pthread_t, const std::string&, int requests = 256);