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