summaryrefslogtreecommitdiffstats
path: root/client/go/script-utils/startcbinary/setrlimit_windows.go
blob: 5bed1916246ac5305a0e00810350c3839f12f26e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

//go:build windows

package startcbinary

type ResourceId int

const (
	RLIMIT_CORE ResourceId = iota
	RLIMIT_NOFILE
	RLIMIT_NPROC
	NO_RLIMIT uint64 = ^uint64(0)
)

func setResourceLimit(resource ResourceId, max uint64) {
	// nop
}