1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

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

This commit is contained in:
Con Kolivas 2012-02-23 17:52:01 +11:00
parent 5404ebcd88
commit 49ba39627c

View File

@ -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 */