1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Must unlock mutex within loop.

This commit is contained in:
Con Kolivas 2012-05-31 19:25:33 +10:00
parent 85bddde1c0
commit 84064a2b1e

View File

@ -4028,8 +4028,8 @@ static void wait_lpcurrent(struct pool *pool)
while (pool != current_pool()) {
mutex_lock(&lp_lock);
pthread_cond_wait(&lp_cond, &lp_lock);
}
mutex_unlock(&lp_lock);
}
}
static void *longpoll_thread(void *userdata)