MCPcopy
hub / github.com/ebitengine/oto / TryStore

Method TryStore

context.go:169–175  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

167}
168
169func (a *atomicError) TryStore(err error) {
170 a.m.Lock()
171 defer a.m.Unlock()
172 if a.err == nil {
173 a.err = err
174 }
175}
176
177func (a *atomicError) Load() error {
178 a.m.Lock()

Callers 8

newContextFunction · 0.80
startMethod · 0.80
newContextFunction · 0.80
appendBufferMethod · 0.80
newContextFunction · 0.80
readAndWriteMethod · 0.80
loopMethod · 0.80
appendBuffersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected