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/ardour/butler.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/ardour/butler.cc')
-rw-r--r-- | libs/ardour/butler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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); |