summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-10 03:45:22 +0000
committerDavid Robillard <d@drobilla.net>2007-01-10 03:45:22 +0000
commit9dfa70945c23df676b52862b0d9b8cc2366ece17 (patch)
treefb4a2fc9ceec04599c5e54a3ce8c324500673863
parent2d62ded1aa92b82d696fb37c952732ae1a309011 (diff)
Actually pass attr's to pthread_create...
git-svn-id: svn://localhost/ardour2/trunk@1294 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/editor_ops.cc2
-rw-r--r--libs/ardour/osc.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index a84832d73e..2e78f63ee2 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -2784,7 +2784,7 @@ Editor::freeze_route ()
pthread_attr_init(&attr);
pthread_attr_setstacksize(&attr, 500000);
- pthread_create (&itt.thread, 0, _freeze_thread, this);
+ pthread_create (&itt.thread, &attr, _freeze_thread, this);
pthread_attr_destroy(&attr);
diff --git a/libs/ardour/osc.cc b/libs/ardour/osc.cc
index c3e9147152..933fba8740 100644
--- a/libs/ardour/osc.cc
+++ b/libs/ardour/osc.cc
@@ -203,7 +203,7 @@ OSC::init_osc_thread ()
pthread_attr_init(&attr);
pthread_attr_setstacksize(&attr, 500000);
- pthread_create (&_osc_thread, NULL, &OSC::_osc_receiver, this);
+ pthread_create (&_osc_thread, &attr, &OSC::_osc_receiver, this);
if (!_osc_thread) {
return false;
}