From 5b03e7497db5cc0cab7d2b788168c2d3f2b0fc87 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 9 Dec 2012 15:11:49 +1100 Subject: [PATCH] Wake the getwork scheduler after every restart threads. --- cgminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgminer.c b/cgminer.c index b0758665..c7e913e1 100644 --- a/cgminer.c +++ b/cgminer.c @@ -3381,6 +3381,8 @@ static void restart_threads(void) mutex_lock(&restart_lock); pthread_cond_broadcast(&restart_cond); mutex_unlock(&restart_lock); + + wake_gws(); } static void set_curblock(char *hexstr, unsigned char *hash)