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/pbd/id.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/pbd/id.cc') diff --git a/libs/pbd/id.cc b/libs/pbd/id.cc index 9b04c88e65..24cf02ab2e 100644 --- a/libs/pbd/id.cc +++ b/libs/pbd/id.cc @@ -31,14 +31,14 @@ using namespace std; using namespace PBD; -Glib::Mutex* ID::counter_lock = 0; +Glib::Threads::Mutex* ID::counter_lock = 0; uint64_t ID::_counter = 0; void ID::init () { if (!counter_lock) - counter_lock = new Glib::Mutex; + counter_lock = new Glib::Threads::Mutex; } ID::ID () @@ -59,7 +59,7 @@ ID::ID (string str) void ID::reset () { - Glib::Mutex::Lock lm (*counter_lock); + Glib::Threads::Mutex::Lock lm (*counter_lock); _id = _counter++; } -- cgit v1.2.3