Set thread-name for vaugs-poll thread, otherwise it inherits the name 'main' which just confuses

This commit is contained in:
Ivan Skytte Jørgensen
2017-05-26 17:11:39 +02:00
parent 8d4caad878
commit 930a105677

@ -205,6 +205,7 @@ static bool do_vagus_poll(int fd) {
static void *poll_thread(void *) {
pthread_setname_np(pthread_self(),"vaguspoll");
struct pollfd pfd[2];
memset(pfd,0,sizeof(pfd));
pfd[0].fd = fd_pipe[0];