@ -96,6 +96,7 @@ func main() {
if th, err := strconv.Atoi(ar[i+1]); err ==nil {
maxThreads = th
ignore = true
continue
} else {
fmt.Printf("Bad threads flag");
}
@ -111,7 +112,7 @@ func main() {
var sem chan bool
if maxThreads >0 {
if maxThreads > 1 {
sem = make(chan bool, maxThreads)
sem = make(chan bool)