set thread name for OSC event loop/thread
git-svn-id: svn://localhost/ardour2/branches/3.0@6553 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
059de5beb3
commit
bd04fc4b51
@ -216,6 +216,10 @@ OSC::start ()
|
||||
void
|
||||
OSC::thread_init ()
|
||||
{
|
||||
char* c = new char[4];
|
||||
strcpy (c, X_("OSC"));
|
||||
pthread_set_name (c);
|
||||
|
||||
if (_osc_unix_server) {
|
||||
Glib::RefPtr<IOSource> src = IOSource::create (lo_server_get_socket_fd (_osc_unix_server), IO_IN|IO_HUP|IO_ERR);
|
||||
src->connect (sigc::bind (sigc::mem_fun (*this, &OSC::osc_input_handler), _osc_unix_server));
|
||||
|
Loading…
Reference in New Issue
Block a user