diff options
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 2 | ||||
-rw-r--r-- | libs/ardour/osc.cc | 2 |
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; } |