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.7.0-beta.0
- Published
- Oct 25, 2022
- Platform
- windows/amd64
- Imports
- 1 packages
- Last checked
- 5 minutes ago –
Tools for package owners.