mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
forward port a disgusting hack from 2.X that stops the timefx thread's exiting from preventing its request event pool being marked dead too soon
git-svn-id: svn://localhost/ardour2/branches/3.0@9431 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8ca87df015
commit
c0a009beb9
1 changed files with 9 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
#include <cmath>
|
||||
#include <ctime>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
@ -365,6 +366,14 @@ Editor::timefx_thread (void *arg)
|
|||
|
||||
tsd->editor.do_timefx (*tsd);
|
||||
|
||||
/* GACK! HACK! sleep for a bit so that our request buffer for the GUI
|
||||
event loop doesn't die before any changes we made are processed
|
||||
by the GUI ...
|
||||
*/
|
||||
|
||||
struct timespec t = { 2, 0 };
|
||||
nanosleep (&t, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue