From e148e76d6192ef4edec59f447f3e8143e4c98297 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 27 Feb 2016 09:31:55 +1100 Subject: [PATCH] Name and detach server watchdog thread --- src/generator.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/generator.c b/src/generator.c index ca2c6adf..e0f14369 100644 --- a/src/generator.c +++ b/src/generator.c @@ -2787,6 +2787,10 @@ static void *server_watchdog(void *arg) ckpool_t *ckp = (ckpool_t *)arg; gdata_t *gdata = ckp->gdata; + rename_proc("swatchdog"); + + pthread_detach(pthread_self()); + while (42) { server_instance_t *best = NULL; ts_t timer_t;