Files
gvisor/pkg/sync
Bhasker Hariharan 3e69f5d088 Add checklocks analyzer.
This validates that struct fields if annotated with "// checklocks:mu" where
"mu" is a mutex field in the same struct then access to the field is only
done with "mu" locked.

All types that are guarded by a mutex must be annotated with

// +checklocks:<mutex field name>

For more details please refer to README.md.

PiperOrigin-RevId: 360729328
2021-03-03 12:24:21 -08:00
..
2020-03-25 10:55:22 -07:00
2021-02-24 11:56:56 -08:00
2020-01-09 22:02:24 -08:00
2021-03-03 12:24:21 -08:00
2020-07-12 17:22:08 -07:00
2020-01-09 22:02:24 -08:00
2021-03-03 12:24:21 -08:00

Syncutil

This package provides additional synchronization primitives not provided by the Go stdlib 'sync' package. It is partially derived from the upstream 'sync' package from go1.10.