Browse Source

Report thread out before it starts to avoid being flagged as sick when waiting for the first work item.

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

+ 1 - 0
cgminer.c

@@ -3425,6 +3425,7 @@ void *miner_thread(void *userdata)
 	if (api->thread_init && !api->thread_init(mythr))
 		goto out;
 
+	thread_reportout(mythr);
 	applog(LOG_DEBUG, "Popping ping in miner thread");
 	tq_pop(mythr->q, NULL); /* Wait for a ping to start */