mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Wake the getwork scheduler after every restart threads.
This commit is contained in:
parent
15e5e36bcd
commit
5b03e7497d
@ -3381,6 +3381,8 @@ static void restart_threads(void)
|
|||||||
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…
x
Reference in New Issue
Block a user