x/sys/windows: missing process working size system calls #39422
Labels
FeatureRequest
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. The currently exposed system calls can be seen at https://pkg.go.dev/golang.org/x/sys/windows?tab=doc
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
When using
VirtualLock
(which is available in the standard library) on Windows sometimes this fails due to the process's limit being reached. See awnumar/memcall#3 for an example.The workaround for this in the docs is to call SetProcessWorkingSetSize.
What did you expect to see?
The SetProcessWorkingSetSize and related system calls exposed in the
x/sys/windows
API.What did you see instead?
They are not defined.
The text was updated successfully, but these errors were encountered: