13
0

Set thread-names (GUI)

This commit is contained in:
Robin Gareus 2020-03-29 14:56:50 +02:00
parent c365c6cdb2
commit 9d737964d6
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 8 additions and 1 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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 ();
}
@ -374,4 +377,4 @@ StripSilenceDialog::finished(int response)
if(response == Gtk::RESPONSE_OK) {
_session->add_extra_xml(get_state());
}
}
}