#include <cstring>
#include "pbd/base_ui.h"
+#include "pbd/pthread_utils.h"
#include "pbd/error.h"
#include "pbd/compose.h"
#include "pbd/failed_constructor.h"
: run_loop_thread (0)
, _name (str)
{
- cerr << "New BUI called " << _name << " @ " << this << endl;
-
base_ui_instance = this;
request_channel.ios()->connect (sigc::mem_fun (*this, &BaseUI::request_handler));
void
BaseUI::main_thread ()
{
+ set_event_loop_for_thread (this);
thread_init ();
_main_loop->run ();
}