Browse Source

Merge commit '84064a2' into bfgminer

Luke Dashjr 14 years ago
parent
commit
6d43e466cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -4064,6 +4064,7 @@ static void wait_lpcurrent(struct pool *pool)
 	while (pool != current_pool()) {
 	while (pool != current_pool()) {
 		mutex_lock(&lp_lock);
 		mutex_lock(&lp_lock);
 		pthread_cond_wait(&lp_cond, &lp_lock);
 		pthread_cond_wait(&lp_cond, &lp_lock);
+		mutex_unlock(&lp_lock);
 	}
 	}
 }
 }