Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
49ba39627c
  1. 1
      cgminer.c

1
cgminer.c

@ -3425,6 +3425,7 @@ void *miner_thread(void *userdata) @@ -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 */

Loading…
Cancel
Save