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

The first work item is tricky so don't try and divide it up to begin with.

This commit is contained in:
Con Kolivas 2011-07-26 21:40:11 +10:00
parent 1536e085da
commit f9bc3771b4

2
main.c
View File

@ -2460,7 +2460,7 @@ static void *miner_thread(void *userdata)
const unsigned long cycle = opt_log_interval / 5 ? : 1;
int request_interval;
bool requested = true;
uint32_t hash_div = opt_n_threads;
uint32_t hash_div = 1;
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);