Add API to set thread-priority (for ctrl-surfaces)
[ardour.git] / libs / pbd / pbd / base_ui.h
index 029d8223eaaa0d1692bb75d136b93f061d5ae54f..b8569718aeaa35301d83f12d4b2d298b91ea211f 100644 (file)
@@ -91,6 +91,8 @@ class LIBPBD_API BaseUI : public sigc::trackable, public PBD::EventLoop
 
        virtual void thread_init () {};
 
+       int set_thread_priority (const int policy = SCHED_FIFO, int priority = 0) const;
+
        /** Called when there input ready on the request_channel
         */
        bool request_handler (Glib::IOCondition);