sync/atomic.Value.Store (method)

15 uses

	sync/atomic (current package)
		value.go#L47: func (v *Value) Store(val any) {

	context
		context.go#L443: 		c.done.Store(d)
		context.go#L547: 		c.done.Store(closedchan)

	github.com/gotd/td/internal/mtproto
		read.go#L209: 				lastErr.Store(errors.Wrap(err, "consume"))

	github.com/gotd/td/telegram/internal/manager
		sync.go#L28: 	c.Value.Store(cfg)

	go.uber.org/atomic
		error.go#L50: 	x.v.Store(packError(val))
		string.go#L50: 	x.v.Store(packString(val))
		time.go#L54: 	x.v.Store(packTime(val))

	image
		format.go#L40: 	atomicFormats.Store(append(formats, format{name, magic, decode, decodeConfig}))

	internal/testlog
		log.go#L37: 	logger.Store(&impl)

	net/http
		transport.go#L772: 	t.altProto.Store(newMap)

	nhooyr.io/websocket/internal/xsync
		int64.go#L22: 	v.i.Store(i)

	syscall
		rlimit.go#L35: 		origRlimitNofile.Store(lim)
		rlimit.go#L47: 		origRlimitNofile.Store(Rlimit{0, 0})
		syscall_linux.go#L1281: 		origRlimitNofile.Store(Rlimit{0, 0})