@ -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,9 +112,9 @@ func main() {
var sem chan bool
if maxThreads >0 {
if maxThreads > 1 {
sem = make(chan bool, maxThreads)
}else {
sem = make(chan bool)