tons of new build options, fix mutex shit, etc

This commit is contained in:
KingKDot
2026-03-21 02:12:35 -05:00
parent 26f5d4ecc6
commit ac5cf6e43e
14 changed files with 714 additions and 606 deletions
+22
View File
@@ -0,0 +1,22 @@
package main
import "time"
func sleepObfuscated(seconds int) {
if seconds <= 0 {
return
}
const slice = 500 * time.Millisecond
end := time.Now().Add(time.Duration(seconds) * time.Second)
for {
remaining := time.Until(end)
if remaining <= 0 {
return
}
next := remaining
if next > slice {
next = slice
}
time.Sleep(next)
}
}