1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +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:
Con Kolivas 2012-02-19 20:33:09 +11:00
parent 02295c69c8
commit b217cbee0d

View File

@ -4499,6 +4499,8 @@ int main (int argc, char *argv[])
if (cgpu->api->thread_prepare && !cgpu->api->thread_prepare(thr))
continue;
thread_reportout(thr);
if (unlikely(thr_info_create(thr, NULL, miner_thread, thr)))
quit(1, "thread %d create failed", thr->id);