diff options
author | David Robillard <d@drobilla.net> | 2007-01-11 19:50:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-11 19:50:49 +0000 |
commit | f7563c2b158252339f98e38719cfc3e092ef7ac7 (patch) | |
tree | b90084b8cc82e613a9dfc73202fdffcf0a05481d /gtk2_ardour/editor_ops.cc | |
parent | 532f6aad4ac79ca15d69deccd18fca90e444c437 (diff) |
Merged with trunk R1304
git-svn-id: svn://localhost/ardour2/branches/midi@1311 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index ea4848b882..d8889c1af7 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -2779,8 +2779,14 @@ Editor::freeze_route () itt.done = false; itt.cancel = false; itt.progress = 0.0f; + + pthread_attr_t attr; + pthread_attr_init(&attr); + pthread_attr_setstacksize(&attr, 500000); + + pthread_create (&itt.thread, &attr, _freeze_thread, this); - pthread_create (&itt.thread, 0, _freeze_thread, this); + pthread_attr_destroy(&attr); track_canvas.get_window()->set_cursor (Gdk::Cursor (Gdk::WATCH)); |