summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/pthread_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/pthread_utils.h')
-rw-r--r--libs/pbd/pbd/pthread_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pbd/pbd/pthread_utils.h b/libs/pbd/pbd/pthread_utils.h
index b8f99ba144..793c3a1980 100644
--- a/libs/pbd/pbd/pthread_utils.h
+++ b/libs/pbd/pbd/pthread_utils.h
@@ -32,7 +32,8 @@ void pthread_cancel_one (pthread_t thread);
void pthread_cancel_all ();
void pthread_kill_all (int signum);
void pthread_exit_pbd (void* status);
-std::string pthread_name ();
+const char* pthread_name ();
+void pthread_set_name (const char* name);
namespace PBD {
extern void notify_gui_about_thread_creation (std::string, pthread_t, std::string, int requests = 256);