Commit c59aeb56ffa01d27dd9544a27feffb23236a5f5f

Con Kolivas 2012-12-09T15:29:06

Revert "Wake the getwork scheduler after every restart threads." This reverts commit 5b03e7497db5cc0cab7d2b788168c2d3f2b0fc87. Redundant.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 70c7d5e..790fb76 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3381,8 +3381,6 @@ static void restart_threads(bool all)
 	mutex_lock(&restart_lock);
 	pthread_cond_broadcast(&restart_cond);
 	mutex_unlock(&restart_lock);
-
-	wake_gws();
 }
 
 static void set_curblock(char *hexstr, unsigned char *hash)