mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 13:04:29 +00:00
The first work item is tricky so don't try and divide it up to begin with.
This commit is contained in:
parent
1536e085da
commit
f9bc3771b4
2
main.c
2
main.c
@ -2460,7 +2460,7 @@ static void *miner_thread(void *userdata)
|
|||||||
const unsigned long cycle = opt_log_interval / 5 ? : 1;
|
const unsigned long cycle = opt_log_interval / 5 ? : 1;
|
||||||
int request_interval;
|
int request_interval;
|
||||||
bool requested = true;
|
bool requested = true;
|
||||||
uint32_t hash_div = opt_n_threads;
|
uint32_t hash_div = 1;
|
||||||
|
|
||||||
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
|
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user