diff options
| author | Cherry Mui <cherryyz@google.com> | 2026-02-18 15:25:22 -0500 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2026-02-19 12:22:50 -0800 |
| commit | 839cd82fa53ec481ffcd02e139b3d77c2724892e (patch) | |
| tree | 64d9fa2aee670156b52333cacf83ca91818426cd /src/net/http | |
| parent | 06dc5db75d4c2548c0187f34ce79389678be7ca0 (diff) | |
| download | go-839cd82fa53ec481ffcd02e139b3d77c2724892e.tar.xz | |
cmd/cgo/internal/test: add a test for C calling into Go before init done
Test that C code can call back into Go (on a separate thread)
before init is done. The callback should wait for the init done.
And this should not cause a false race.
This corresponds to the runtime fix in CL 746581.
Change-Id: I10e6a9d5fe056be16143f5f6a322f51e56fc9fdf
Reviewed-on: https://go-review.googlesource.com/c/go/+/746780
Reviewed-by: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions
