mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-08 04:02:08 +00:00
Report threads as busy waiting on getwork on startup to avoid them being flagged sick on startup during slow networking.
This commit is contained in:
parent
02295c69c8
commit
b217cbee0d
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user