JSONServer::JSONServer (int port)
{
+#ifdef DCPOMATIC_LINUX
+ thread* t = new thread (boost::bind (&JSONServer::run, this, port));
+ pthread_setname_np (t->native_handle(), "json-server");
+#else
new thread (boost::bind (&JSONServer::run, this, port));
+#endif
}
void