Commit f9bc3771b422663fcff42959426879e11a0efd83

Con Kolivas 2011-07-26T21:40:11

The first work item is tricky so don't try and divide it up to begin with.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index aec6edb..6044985 100644
--- a/main.c
+++ b/main.c
@@ -2460,7 +2460,7 @@ static void *miner_thread(void *userdata)
 	const unsigned long cycle = opt_log_interval / 5 ? : 1;
 	int request_interval;
 	bool requested = true;
-	uint32_t hash_div = opt_n_threads;
+	uint32_t hash_div = 1;
 
 	pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);