Set thread-names (GUI)
This commit is contained in:
parent
c365c6cdb2
commit
9d737964d6
@ -31,6 +31,8 @@
|
||||
#include <glib.h>
|
||||
#include <glibmm/timer.h>
|
||||
|
||||
#include "pbd/pthread_utils.h"
|
||||
|
||||
#include "ardour/linux_vst_support.h"
|
||||
#include "ardour/vst_plugin.h"
|
||||
|
||||
@ -319,6 +321,7 @@ windows, that is if they don't manage their own UIs **/
|
||||
static void*
|
||||
gui_event_loop (void* ptr)
|
||||
{
|
||||
pthread_set_name ("LXVSTEventLoop");
|
||||
VSTState* vstfx;
|
||||
int LXVST_sched_timer_interval = 40; //ms, 25fps
|
||||
XEvent event;
|
||||
|
@ -83,6 +83,7 @@ _query_registry (const char *regkey, const char *regval, std::string &rv) {
|
||||
static void*
|
||||
_pingback (void *arg)
|
||||
{
|
||||
pthread_set_name ("Pingback");
|
||||
ArdourCurl::HttpGet h;
|
||||
|
||||
ping_call* cm = static_cast<ping_call*> (arg);
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include <gtkmm/progressbar.h>
|
||||
#include <gtkmm/stock.h>
|
||||
|
||||
#include "pbd/pthread_utils.h"
|
||||
|
||||
#include "ardour/audioregion.h"
|
||||
#include "ardour/dB.h"
|
||||
#include "ardour/logmeter.h"
|
||||
@ -246,6 +248,7 @@ void *
|
||||
StripSilenceDialog::_detection_thread_work (void* arg)
|
||||
{
|
||||
StripSilenceDialog* d = reinterpret_cast<StripSilenceDialog*> (arg);
|
||||
pthread_set_name ("SilenceDetect");
|
||||
return d->detection_thread_work ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user