MCPcopy Create free account
hub / github.com/fogleman/nes / init

Function init

ui/run.go:19–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17)
18
19func init() {
20 // we need a parallel OS thread to avoid audio stuttering
21 runtime.GOMAXPROCS(2)
22
23 // we need to keep OpenGL calls on a single thread
24 runtime.LockOSThread()
25}
26
27func Run(paths []string) {
28 // initialize audio

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…