diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-25 17:48:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-25 17:48:55 +0000 |
commit | 3cd8138a419cb165f56070ace0b21a1e63ec5a43 (patch) | |
tree | 51efe9abff24a1367be227aebf8e2901433b0b88 /libs/pbd/base_ui.cc | |
parent | eb6e352dd0a307badf68ae4a216d15c03b4685de (diff) |
convert from Glib:: to Glib::Threads for all thread-related API
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/base_ui.cc')
-rw-r--r-- | libs/pbd/base_ui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/base_ui.cc b/libs/pbd/base_ui.cc index 14a3ef644d..a7e148c839 100644 --- a/libs/pbd/base_ui.cc +++ b/libs/pbd/base_ui.cc @@ -83,7 +83,7 @@ BaseUI::main_thread () bool BaseUI::signal_running () { - Glib::Mutex::Lock lm (_run_lock); + Glib::Threads::Mutex::Lock lm (_run_lock); _running.signal (); return false; // don't call it again @@ -101,8 +101,8 @@ BaseUI::run () /* glibmm hack - drop the refptr to the IOSource now before it can hurt */ request_channel.drop_ios (); - Glib::Mutex::Lock lm (_run_lock); - run_loop_thread = Thread::create (mem_fun (*this, &BaseUI::main_thread), true); + Glib::Threads::Mutex::Lock lm (_run_lock); + run_loop_thread = Glib::Threads::Thread::create (mem_fun (*this, &BaseUI::main_thread)); _running.wait (_run_lock); } |