diff options
| author | qmuntal <quimmuntal@gmail.com> | 2023-09-07 12:41:37 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2023-09-20 16:15:50 +0000 |
| commit | d73a33f1c34f3cfdc136ac553e887b96614b9ee8 (patch) | |
| tree | c167d4e818d3846bae4e4b609c2966d3cecfc850 /src/database/sql/sql_test.go | |
| parent | c4af8abae11841d20dfa495a62acc96e5f701f4a (diff) | |
| download | go-d73a33f1c34f3cfdc136ac553e887b96614b9ee8.tar.xz | |
runtime: implement osyield in Go instead of assembly on Windows
Windows APIs are normally not arch-specific, so it's better to
implement them in Go instead of assembly.
It was previously implemented in assembly because it was the only way
to support calls without a valid g. This CL defines a new function,
stdcall_no_g, that can be used in such cases.
Change-Id: I26a223b918c6c462b06ac256bdacf9ddb78752bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/526476
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
