1//go:build !unix23package stress45// Logger is what BenchLock says why it times without the lock through:6// a testing.TB.7type Logger interface {8 Logf(format string, args ...any)9 Fatalf(format string, args ...any)10}1112// BenchLock times without the lock where there is no flock(2).13func BenchLock(Logger) func() { return func() {} }