From 3cd8138a419cb165f56070ace0b21a1e63ec5a43 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Jul 2012 17:48:55 +0000 Subject: 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 --- libs/ardour/butler.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/butler.cc') diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc index 3e9c7b0d96..db1b316368 100644 --- a/libs/ardour/butler.cc +++ b/libs/ardour/butler.cc @@ -311,7 +311,7 @@ restart: { - Glib::Mutex::Lock lm (request_lock); + Glib::Threads::Mutex::Lock lm (request_lock); if (should_run && (disk_work_outstanding || transport_work_requested())) { // for (DiskstreamList::iterator i = dsl->begin(); i != dsl->end(); ++i) { @@ -349,7 +349,7 @@ Butler::summon () void Butler::stop () { - Glib::Mutex::Lock lm (request_lock); + Glib::Threads::Mutex::Lock lm (request_lock); char c = Request::Pause; (void) ::write (request_pipe[1], &c, 1); paused.wait(request_lock); @@ -358,7 +358,7 @@ Butler::stop () void Butler::wait_until_finished () { - Glib::Mutex::Lock lm (request_lock); + Glib::Threads::Mutex::Lock lm (request_lock); char c = Request::Pause; (void) ::write (request_pipe[1], &c, 1); paused.wait(request_lock); -- cgit v1.2.3