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

Method Resume

driver_unix.go:258–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256}
257
258func (c *context) Resume() error {
259 <-c.ready
260
261 c.cond.L.Lock()
262 defer c.cond.L.Unlock()
263
264 if err := c.err.Load(); err != nil {
265 return err.(error)
266 }
267
268 c.suspended = false
269 c.cond.Signal()
270 return nil
271}
272
273func (c *context) Err() error {
274 if err := c.err.Load(); err != nil {

Callers

nothing calls this directly

Calls 1

LoadMethod · 0.80

Tested by

no test coverage detected