Merge pull request #1078 from strukturag/gvisor-checklocks

Use gvisor checklocks for static lock analysis.
This commit is contained in:
Joachim Bauch 2025-10-23 11:35:58 +02:00 committed by GitHub
commit e027c484bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 1594 additions and 386 deletions

View file

@ -93,7 +93,8 @@ func createTLSListener(addr string, certFile, keyFile string) (net.Listener, err
}
type Listeners struct {
mu sync.Mutex
mu sync.Mutex
// +checklocks:mu
listeners []net.Listener
}