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/pthread_utils.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/pbd/pthread_utils.cc') diff --git a/libs/pbd/pthread_utils.cc b/libs/pbd/pthread_utils.cc index 92d92da592..e8b5e2690d 100644 --- a/libs/pbd/pthread_utils.cc +++ b/libs/pbd/pthread_utils.cc @@ -33,7 +33,7 @@ using namespace std; typedef std::set ThreadMap; static ThreadMap all_threads; static pthread_mutex_t thread_map_lock = PTHREAD_MUTEX_INITIALIZER; -static Glib::StaticPrivate thread_name; +static Glib::Threads::Private thread_name (free); namespace PBD { PBD::Signal4 ThreadCreatedWithRequestSize; @@ -108,7 +108,7 @@ pthread_set_name (const char *str) { /* copy string and delete it when exiting */ - thread_name.set (strdup (str), free); + thread_name.set (strdup (str)); } const char * -- cgit v1.2.3