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:
parent
5404ebcd88
commit
49ba39627c
@ -3425,6 +3425,7 @@ void *miner_thread(void *userdata)
|
|||||||
if (api->thread_init && !api->thread_init(mythr))
|
if (api->thread_init && !api->thread_init(mythr))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
thread_reportout(mythr);
|
||||||
applog(LOG_DEBUG, "Popping ping in miner thread");
|
applog(LOG_DEBUG, "Popping ping in miner thread");
|
||||||
tq_pop(mythr->q, NULL); /* Wait for a ping to start */
|
tq_pop(mythr->q, NULL); /* Wait for a ping to start */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user