Commit b217cbee0ddfb2fda41a3738e1801d4fe5929f13

Con Kolivas 2012-02-19T20:33:09

Report threads as busy waiting on getwork on startup to avoid them being flagged sick on startup during slow networking.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 83be99c..a18c503 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4499,6 +4499,8 @@ int main (int argc, char *argv[])
 			if (cgpu->api->thread_prepare && !cgpu->api->thread_prepare(thr))
 				continue;
 
+			thread_reportout(thr);
+
 			if (unlikely(thr_info_create(thr, NULL, miner_thread, thr)))
 				quit(1, "thread %d create failed", thr->id);