Setting GOMAXPROCS is no longer needed

https://golang.org/doc/go1.5
pull/642/head
Junegunn Choi 8 years ago
parent 3a9532c8fd
commit 935272824e
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -28,16 +28,11 @@ package fzf
import (
"fmt"
"os"
"runtime"
"time"
"github.com/junegunn/fzf/src/util"
)
func initProcs() {
runtime.GOMAXPROCS(runtime.NumCPU())
}
/*
Reader -> EvtReadFin
Reader -> EvtReadNew -> Matcher (restart)
@ -49,8 +44,6 @@ Matcher -> EvtHeader -> Terminal (update header)
// Run starts fzf
func Run(opts *Options) {
initProcs()
sort := opts.Sort > 0
sortCriteria = opts.Criteria

Loading…
Cancel
Save