mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
c6af5bbfe8
Updates #cleanup Change-Id: Ic4304e909d2131a95a38b26911f49e7b1729aaef Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
18 lines
335 B
Go
18 lines
335 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// The testrestartableprocesses is a program for a test.
|
|
package main
|
|
|
|
import (
|
|
"golang.org/x/sys/windows"
|
|
)
|
|
|
|
func init() {
|
|
register("RestartableProcess", RestartableProcess)
|
|
}
|
|
|
|
func RestartableProcess() {
|
|
windows.SleepEx(windows.INFINITE, false)
|
|
}
|