Moved runtime.LockOSThread() to urtrator.go.

This commit is contained in:
2016-11-21 01:33:04 +05:00
parent 57a5f7cb4c
commit 0392f510f5
4 changed files with 1 additions and 17 deletions

View File

@@ -25,6 +25,7 @@ func main() {
numCPUs := runtime.NumCPU()
runtime.GOMAXPROCS(numCPUs)
runtime.LockOSThread()
ctx := context.New()
ctx.Initialize()