mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
The Go runtime disables priority boosting because it interferes with the scheduler timer threads in some cases. But some apps might want to re-enable it for specific reasons, so this commit adds the function to do so. Change-Id: Ida68b9f2b188560b46c322197461dd06453329e2 Reviewed-on: https://go-review.googlesource.com/c/sys/+/191839 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>