File: main_windows.go

package info (click to toggle)
panicparse 2.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,004 kB
  • sloc: sh: 13; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2020 Marc-Antoine Ruel. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.

//go:build windows
// +build windows

package main

import "golang.org/x/sys/windows"

func sysHang() {
	// 49.7 days is enough for everyone.
	windows.SleepEx(0xFFFFFFFF, false)
}