diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-09-23 10:46:46 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-09-23 09:53:14 -0700 |
| commit | e93f439ac4160baf9992f059d2bfb511e23f63c9 (patch) | |
| tree | 65d5fcb445a37e2b20742f9520ccfe7c0c8d1981 /src/cmd/compile/testdata | |
| parent | 69e74b0aacc1de59b618bbb9789a2e7e0cd806b5 (diff) | |
| download | go-e93f439ac4160baf9992f059d2bfb511e23f63c9.tar.xz | |
runtime/cgo: retry when CreateThread fails with ERROR_ACCESS_DENIED
_cgo_beginthread used to retry _beginthread only when it failed with
EACCESS, but CL 651995 switched to CreateThread and incorrectly mapped
EACCESS to ERROR_NOT_ENOUGH_MEMORY. The correct mapping is
ERROR_ACCESS_DENIED.
Fixes #72814
Fixes #75381
Change-Id: I8ba060114aae4e8249576f11a21eff613caa8001
Reviewed-on: https://go-review.googlesource.com/c/go/+/706075
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd/compile/testdata')
0 files changed, 0 insertions, 0 deletions
