Moved runtime.LockOSThread() to urtrator.go.
This commit is contained in:
@@ -25,6 +25,7 @@ func main() {
|
||||
|
||||
numCPUs := runtime.NumCPU()
|
||||
runtime.GOMAXPROCS(numCPUs)
|
||||
runtime.LockOSThread()
|
||||
|
||||
ctx := context.New()
|
||||
ctx.Initialize()
|
||||
|
Reference in New Issue
Block a user