projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
059de5b
)
set thread name for OSC event loop/thread
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 24 Jan 2010 21:04:31 +0000
(21:04 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 24 Jan 2010 21:04:31 +0000
(21:04 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6553
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/surfaces/osc/osc.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/osc/osc.cc
b/libs/surfaces/osc/osc.cc
index 0f67f0e602960a7fa4d46a45c1f71ba89862cc81..b7886f75130b2a39a83d445ea33e7d43accf345f 100644
(file)
--- a/
libs/surfaces/osc/osc.cc
+++ b/
libs/surfaces/osc/osc.cc
@@
-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));