package atomic
import "github.com/containerd/containerd/pkg/atomic"
Index ¶
Types ¶
type Bool ¶
type Bool interface { Set() Unset() IsSet() bool }
Bool is an atomic Boolean, Its methods are all atomic, thus safe to be called by multiple goroutines simultaneously.
func NewBool ¶
NewBool creates an Bool with given default value
Source Files ¶
- Version
- v1.6.29
- Published
- Mar 8, 2024
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 second ago –
Tools for package owners.