diff options
Diffstat (limited to 'client/go/util/setrlimit_windows.go')
-rw-r--r-- | client/go/util/setrlimit_windows.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/go/util/setrlimit_windows.go b/client/go/util/setrlimit_windows.go new file mode 100644 index 00000000000..c40b1cb1364 --- /dev/null +++ b/client/go/util/setrlimit_windows.go @@ -0,0 +1,18 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +//go:build windows + +package util + +type ResourceId int + +const ( + RLIMIT_CORE ResourceId = iota + RLIMIT_NOFILE + RLIMIT_NPROC + NO_RLIMIT uint64 = ^uint64(0) +) + +func SetResourceLimit(resource ResourceId, max uint64) { + // nop +} |