13
0

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:
David Robillard 2007-01-10 03:45:22 +00:00
parent 2d62ded1aa
commit 9dfa70945c
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}