forked from Mirrors/privacore-open-source-search-engine
Set thread-name for vaugs-poll thread, otherwise it inherits the name 'main' which just confuses
This commit is contained in:
@ -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];
|
||||
|
Reference in New Issue
Block a user