Browse Source

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

Con Kolivas 14 years ago
parent
commit
b217cbee0d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cgminer.c

+ 2 - 0
cgminer.c

@@ -4499,6 +4499,8 @@ int main (int argc, char *argv[])
 			if (cgpu->api->thread_prepare && !cgpu->api->thread_prepare(thr))
 			if (cgpu->api->thread_prepare && !cgpu->api->thread_prepare(thr))
 				continue;
 				continue;
 
 
+			thread_reportout(thr);
+
 			if (unlikely(thr_info_create(thr, NULL, miner_thread, thr)))
 			if (unlikely(thr_info_create(thr, NULL, miner_thread, thr)))
 				quit(1, "thread %d create failed", thr->id);
 				quit(1, "thread %d create failed", thr->id);