summaryrefslogtreecommitdiff
path: root/libs/ardour/osc.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-03-24 15:48:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-03-24 15:48:34 +0000
commitdfe26ae407b199b23d010c9cb4f9b616b5fb1e0d (patch)
treebd8134347c55914258f60cb1ddcd448bb1eb314f /libs/ardour/osc.cc
parent21571906411af0f88344a3baf306ecfda408e15d (diff)
VST omnibus commit edition: use wine_pthread_create() everywhere instead of pthread_create; properly handle events when editor windows are closed, thus avoiding deadlock when deleting a VST plugin; actually delete plugins (of any kind) when requested to do so and there is an editor - this was a bug that has been around for quite a long time in 2.X; some extensions to the vestige header that might be legally dubious
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4889 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/osc.cc')
-rw-r--r--libs/ardour/osc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/osc.cc b/libs/ardour/osc.cc
index 384e77aa3d..ab611d0ee7 100644
--- a/libs/ardour/osc.cc
+++ b/libs/ardour/osc.cc
@@ -241,7 +241,7 @@ OSC::init_osc_thread ()
pthread_attr_init(&attr);
pthread_attr_setstacksize(&attr, 500000);
- pthread_create (&_osc_thread, &attr, &OSC::_osc_receiver, this);
+ pthread_create_and_store (X_("OSC"), &_osc_thread, &attr, &OSC::_osc_receiver, this);
if (!_osc_thread) {
return false;
}