Start work on panel kitten wrapper in Go

Needed because we need to use a special exe on macOS.
This commit is contained in:
Kovid Goyal
2025-04-28 16:07:09 +05:30
parent cd75baccf2
commit 9854068a59
3 changed files with 64 additions and 1 deletions

View File

@@ -222,7 +222,7 @@ func main(cmd *cli.Command, o *Options, args []string) (rc int, err error) {
keep_going.Store(true)
if !opts.DetectSupport && num_of_items > 0 {
num_workers := utils.Max(1, utils.Min(num_of_items, runtime.NumCPU()))
for i := 0; i < num_workers; i++ {
for range num_workers {
go run_worker()
}
}