ReadyTalk/avian — pull request #278 by dicej (2014-06-05 13:55:05+00:00)
Title: only enter IdleState if necessary in idleIfNecessary

There's no need to enter IdleState (and incur synchronization
overhead) unless another thread is waiting to enter ExclusiveState.
This change improves the performance of the MemoryRamp test by a
factor of about 100.