1
0
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:
Con Kolivas 2012-12-09 15:11:49 +11:00
parent 15e5e36bcd
commit 5b03e7497d

View File

@ -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)