Browse Source

Wake the getwork scheduler after every restart threads.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
5b03e7497d
  1. 2
      cgminer.c

2
cgminer.c

@ -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…
Cancel
Save