most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas...
[ardour.git] / libs / pbd / pbd / pthread_utils.h
index 9fa6ba4ce4023d9ceefd707b1c7f9bbe7386e112..dd91e0a2b1694745626236c03cd60753f7224238 100644 (file)
@@ -35,8 +35,11 @@ void pthread_exit_pbd (void* status);
 std::string pthread_name ();
 
 namespace PBD {
-  extern sigc::signal<void,pthread_t,std::string> ThreadCreated;
-  extern sigc::signal<void,pthread_t,std::string,uint32_t> ThreadCreatedWithRequestSize;
+       extern void notify_gui_about_thread_creation (pthread_t, std::string, int requests = 256);
+       extern void notify_gui_about_thread_exit (pthread_t);
+
+       extern sigc::signal<void,pthread_t>             ThreadLeaving;
+       extern sigc::signal<void,pthread_t,std::string,uint32_t> ThreadCreatedWithRequestSize;
 }
 
 #endif /* __pbd_pthread_utils__ */