X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fpthread_utils.h;h=793c3a19807e6d987510ae020d2e6536fd84c6f4;hb=6ae4f104371ed433a79c8845de97428d964edd8b;hp=e6c5a376df413bafaa0aabfd63da329b64b58fca;hpb=b8b55ef0036bbef9a2961f03f44387ea8c89456a;p=ardour.git diff --git a/libs/pbd/pbd/pthread_utils.h b/libs/pbd/pbd/pthread_utils.h index e6c5a376df..793c3a1980 100644 --- a/libs/pbd/pbd/pthread_utils.h +++ b/libs/pbd/pbd/pthread_utils.h @@ -25,21 +25,19 @@ #include #include -#include +#include int pthread_create_and_store (std::string name, pthread_t *thread, void * (*start_routine)(void *), void * arg); 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); - extern void notify_gui_about_thread_exit (pthread_t); - - extern sigc::signal ThreadLeaving; - extern sigc::signal ThreadCreatedWithRequestSize; + extern PBD::Signal4 ThreadCreatedWithRequestSize; } #endif /* __pbd_pthread_utils__ */