mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Merge pull request #1184 from strukturag/checklocks-generics
checklocks: Remove ignore since generics are supported now.
This commit is contained in:
commit
043c854cd2
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ import (
|
|||
type ConcurrentMap[K comparable, V any] struct {
|
||||
mu sync.RWMutex
|
||||
// +checklocks:mu
|
||||
d map[K]V // +checklocksignore: Not supported yet, see https://github.com/google/gvisor/issues/11671
|
||||
d map[K]V
|
||||
}
|
||||
|
||||
func (m *ConcurrentMap[K, V]) Set(key K, value V) {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import (
|
|||
type Storage[T any] struct {
|
||||
mu sync.Mutex
|
||||
// +checklocks:mu
|
||||
entries map[string]T // +checklocksignore: Not supported yet, see https://github.com/google/gvisor/issues/11671
|
||||
entries map[string]T
|
||||
}
|
||||
|
||||
func (s *Storage[T]) cleanup(key string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue