mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 21:14:18 +00:00
Revert "Send ping to wake up new threads."
This reverts commit bf4c3626bce572c0e313a1edcca8a04608723cff. Prepare to rollback.
This commit is contained in:
parent
bf4c3626bc
commit
e100fcc672
4
main.c
4
main.c
@ -3396,10 +3396,6 @@ static void *reinit_gpu(void *userdata)
|
|||||||
|
|
||||||
/* Try to re-enable it */
|
/* Try to re-enable it */
|
||||||
gpu_devices[gpu] = true;
|
gpu_devices[gpu] = true;
|
||||||
for (thr_id = 0; thr_id < gpu_threads; thr_id ++) {
|
|
||||||
if (dev_from_id(thr_id) == gpu)
|
|
||||||
tq_push(thr->q, &ping);
|
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user