1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Disable restarting of CPU mining threads pending further investigation. They may not need it and are easily killed off.

This commit is contained in:
Con Kolivas 2011-07-16 02:55:43 +10:00
parent 75e1d0166c
commit 70edd0d36f

4
main.c
View File

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