From 70edd0d36f9ebbc0c0391867ddb799cbb6e393d8 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 16 Jul 2011 02:55:43 +1000 Subject: [PATCH] Disable restarting of CPU mining threads pending further investigation. They may not need it and are easily killed off. --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index bf073d99..d989abd0 100644 --- a/main.c +++ b/main.c @@ -2011,7 +2011,11 @@ static void *watchdog_thread(void *userdata) } gettimeofday(&now, NULL); +#if 0 for (i = 0; i < mining_threads; i++) { +#else + for (i = 0; i < gpu_threads; i++) { +#endif struct thr_info *thr = &thr_info[i]; /* Do not kill threads waiting on longpoll staged work