mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
The old service management code was written in assembly and communicated over Windows events, which resulted in non-obvious control flow. NewCallback makes it possible to rewrite all of this in vanilla Go. This also enables the service test on the Go builders, as modifying system services shouldn't be an issue there. Change-Id: I8003b57d11d4469f762058c648a4b7733530eeb8 Reviewed-on: https://go-review.googlesource.com/c/sys/+/330010 Trust: Jason A. Donenfeld <Jason@zx2c4.com> Trust: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>