Actually pass attr's to pthread_create...
git-svn-id: svn://localhost/ardour2/trunk@1294 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2d62ded1aa
commit
9dfa70945c
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user