1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 11:34:16 +00:00

Queue enough requests to get started.

This commit is contained in:
Con Kolivas 2012-08-21 22:50:09 +10:00
parent 3ebe8e8c77
commit 3ab5dba67e

View File

@ -5701,6 +5701,9 @@ begin_bench:
pthread_detach(thr->pth);
#endif
for (i = 0; i < mining_threads + opt_queue; i++)
queue_request(NULL, false);
/* main loop - simply wait for workio thread to exit. This is not the
* normal exit path and only occurs should the workio_thread die
* unexpectedly */