X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fbase_ui.h;fp=libs%2Fpbd%2Fpbd%2Fbase_ui.h;h=b8569718aeaa35301d83f12d4b2d298b91ea211f;hb=8374e23014f2254c7de23cf6f0e09e7dabd5303f;hp=029d8223eaaa0d1692bb75d136b93f061d5ae54f;hpb=c125cd26476afb4171ebfcebb329de4004e8e5e7;p=ardour.git diff --git a/libs/pbd/pbd/base_ui.h b/libs/pbd/pbd/base_ui.h index 029d8223ea..b8569718ae 100644 --- a/libs/pbd/pbd/base_ui.h +++ b/libs/pbd/pbd/base_ui.h @@ -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);