0.33c : parallelize start/stop of jails up to gMaxThreads

This commit is contained in:
yo
2023-06-25 23:07:53 +02:00
parent 6f9bb504be
commit 7575da794e
4 changed files with 110 additions and 8 deletions

View File

@ -21,6 +21,8 @@ import (
const (
ipv4re = `[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}`
ifconfigipv4re = `inet[[:space:]](` + ipv4re + `)`
// Maximum thread qty for start/stop
gMaxThreads = 4
)
/*****************************************************************************