mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Revert "Wake the getwork scheduler after every restart threads."
This reverts commit 5b03e7497d
.
Redundant.
This commit is contained in:
parent
31f75098b5
commit
c59aeb56ff
@ -3381,8 +3381,6 @@ static void restart_threads(bool all)
|
|||||||
mutex_lock(&restart_lock);
|
mutex_lock(&restart_lock);
|
||||||
pthread_cond_broadcast(&restart_cond);
|
pthread_cond_broadcast(&restart_cond);
|
||||||
mutex_unlock(&restart_lock);
|
mutex_unlock(&restart_lock);
|
||||||
|
|
||||||
wake_gws();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_curblock(char *hexstr, unsigned char *hash)
|
static void set_curblock(char *hexstr, unsigned char *hash)
|
||||||
|
Loading…
Reference in New Issue
Block a user