summaryrefslogtreecommitdiff
path: root/libs/ardour/analyser.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-11-06 22:18:27 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-11-06 22:18:27 +0000
commit99aad0d4df5de53f71b7b43bd69e8affe615c971 (patch)
tree72811037315c3be00d9d49df6393a878123a7872 /libs/ardour/analyser.cc
parentd410d82ad893dbe02d2ea131c55706dec65dc256 (diff)
wrap PBD::Thread... signals in a mutex to avoid crashing as multiple threads call it simultaneously; increase FUDGE distance for GTK/X11 when sizing comboboxselectors in editor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4099 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/analyser.cc')
-rw-r--r--libs/ardour/analyser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/analyser.cc b/libs/ardour/analyser.cc
index 2e14c74b86..28eeeb190c 100644
--- a/libs/ardour/analyser.cc
+++ b/libs/ardour/analyser.cc
@@ -75,7 +75,7 @@ Analyser::queue_source_for_analysis (boost::shared_ptr<Source> src, bool force)
void
Analyser::work ()
{
- PBD::ThreadCreated (pthread_self(), string ("analyser-") + to_string (pthread_self(), std::dec));
+ PBD::notify_gui_about_thread_creation (pthread_self(), string ("analyser-") + to_string (pthread_self(), std::dec));
while (true) {
analysis_queue_lock.lock ();