blob: 3ef834fd5454687b65276ccbf408a3d0a8cbfe2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright (c) Tailscale Inc & contributors
// 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)
}
|