1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-13 06:01:03 +00:00

Must unlock mutex after waking up on pthread conditional.

This commit is contained in:
Con Kolivas 2012-05-31 19:20:40 +10:00
parent 598476cae1
commit 85bddde1c0

View File

@ -4029,6 +4029,7 @@ static void wait_lpcurrent(struct pool *pool)
mutex_lock(&lp_lock);
pthread_cond_wait(&lp_cond, &lp_lock);
}
mutex_unlock(&lp_lock);
}
static void *longpoll_thread(void *userdata)