From b217cbee0ddfb2fda41a3738e1801d4fe5929f13 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 19 Feb 2012 20:33:09 +1100 Subject: [PATCH] Report threads as busy waiting on getwork on startup to avoid them being flagged sick on startup during slow networking. --- cgminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgminer.c b/cgminer.c index 83be99c7..a18c503b 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);