...

Source file src/github.com/onsi/ginkgo/v2/integration/_fixtures/profile_fixture/lock_contest/lock_contest.go

Documentation: github.com/onsi/ginkgo/v2/integration/_fixtures/profile_fixture/lock_contest

     1  package lock_contest
     2  
     3  import (
     4  	"sync"
     5  )
     6  
     7  func WaitForLock(l *sync.Mutex) {
     8  	l.Lock()
     9  	l.Unlock()
    10  }
    11  
    12  func SlowWaitForLock(l *sync.Mutex) {
    13  	l.Lock()
    14  	l.Unlock()
    15  }
    16  

View as plain text