Improve power lock logic (#118)

This commit is contained in:
Dane Everitt
2022-01-23 09:49:35 -08:00
committed by GitHub
parent c52db4eec0
commit 4c8f5c21a3
5 changed files with 299 additions and 54 deletions

View File

@@ -16,7 +16,7 @@ func MutexLocked(m *sync.RWMutex) bool {
return state.Int()&1 == 1 || v.FieldByName("readerCount").Int() > 0
}
func Test(t *testing.T) {
func TestSink(t *testing.T) {
g := Goblin(t)
g.Describe("SinkPool#On", func() {