Browse Source

Don't yield when downgrading a cg ilock.

nfactor-troky
ckolivas 12 years ago
parent
commit
b8a203ab33
  1. 2
      miner.h

2
miner.h

@ -824,7 +824,7 @@ static inline void cg_wlock(cglock_t *lock) @@ -824,7 +824,7 @@ static inline void cg_wlock(cglock_t *lock)
static inline void cg_dlock(cglock_t *lock)
{
rd_lock(&lock->rwlock);
mutex_unlock(&lock->mutex);
mutex_unlock_noyield(&lock->mutex);
}
static inline void cg_runlock(cglock_t *lock)

Loading…
Cancel
Save