87fd48eafe
There are two issues with Entropy Resources Lock when used in Rigo. 1. Reentrancy: this property is unwanted in Rigo due to the amount of time Entropy Resources Lock is acquired and released. It is always wanted to acquire once and release once. 2. Re-acquiring it is costly, this lock should be relased only when we are really forced to do so.