diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-02-24 15:37:41 +0100 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-02-25 12:01:21 -0800 |
| commit | 00e793cfe36de845501ea302645094149ed63e91 (patch) | |
| tree | bc0ad483ee26574997a2ecad728ce3e7b5de11d7 /src/runtime/internal | |
| parent | c5ff26a7a0ba7a8aa6320d70d0933f117d882dde (diff) | |
| download | go-00e793cfe36de845501ea302645094149ed63e91.tar.xz | |
runtime/cgo: use CreateThread instead of _beginthread
_beginthread is intended to be used together with the C runtime.
The cgo runtime doesn't use it, so better use CreateThread directly,
which is the Windows API for creating threads.
Cq-Include-Trybots: luci.golang.try:gotip-windows-amd64-longtest,gotip-windows-arm64
Change-Id: Ic6cf75f69f62a3babf5e74155da1aac70961886c
Reviewed-on: https://go-review.googlesource.com/c/go/+/651995
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/internal')
0 files changed, 0 insertions, 0 deletions
