From 01e3c878cf1d1ada966c692dd28621da89f02930 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 29 Sep 2013 15:16:25 +1000 Subject: [PATCH] We should only yield once in cg_wunlock --- miner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner.h b/miner.h index 60eb7516..fdfc7797 100644 --- a/miner.h +++ b/miner.h @@ -899,7 +899,7 @@ static inline void cg_runlock(cglock_t *lock) static inline void cg_wunlock(cglock_t *lock) { - wr_unlock(&lock->rwlock); + wr_unlock_noyield(&lock->rwlock); mutex_unlock(&lock->mutex); }