From 0e43084c0947e7264ab915a619a8f2b2c3312278 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 21 Aug 2013 11:05:21 +1000 Subject: [PATCH] We don't want to continue into the hash_pop function if the getq is frozen. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 5ccc1b75..4ea6d474 100644 --- a/cgminer.c +++ b/cgminer.c @@ -5484,7 +5484,7 @@ static struct work *hash_pop(void) int hc; mutex_lock(stgd_lock); - while (!getq->frozen && !HASH_COUNT(staged_work)) + while (!HASH_COUNT(staged_work)) pthread_cond_wait(&getq->cond, stgd_lock); hc = HASH_COUNT(staged_work);