mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-05 03:24:26 +00:00
work_restart is reset within the queued hash work loop.
This commit is contained in:
parent
5900c0244d
commit
33e83eb764
@ -1080,8 +1080,6 @@ static void avalon_flush_work(struct cgpu_info *avalon)
|
|||||||
struct avalon_info *info = avalon->device_data;
|
struct avalon_info *info = avalon->device_data;
|
||||||
struct thr_info *thr = info->thr;
|
struct thr_info *thr = info->thr;
|
||||||
|
|
||||||
thr->work_restart = false;
|
|
||||||
|
|
||||||
mutex_lock(&info->qlock);
|
mutex_lock(&info->qlock);
|
||||||
/* Will overwrite any work queued */
|
/* Will overwrite any work queued */
|
||||||
avalon->queued = 0;
|
avalon->queued = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user