summaryrefslogtreecommitdiff
path: root/misc/cgo/test/cgo_linux_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-16 11:03:11 -0400
committerRuss Cox <rsc@golang.org>2014-09-16 11:03:11 -0400
commitb9600256a044061cd2d410a352bd821bc84e4754 (patch)
tree13209e3524d6198405e9237aedcb6ae7dd6f70f6 /misc/cgo/test/cgo_linux_test.go
parentc9afff3fcecc335ae25cef3ec5f4040fb30e2f9a (diff)
downloadgo-b9600256a044061cd2d410a352bd821bc84e4754.tar.gz
runtime: remove untyped allocation of ParFor
Now it's two allocations. I don't see much downside to that, since the two pieces were in different cache lines anyway. Rename 'conservative' to 'cgo_conservative_type' and make clear that _cgo_allocate is the only allowed user. This depends on CL 141490043, which removes the other use of conservative (in defer). LGTM=dvyukov, iant R=khr, dvyukov, iant CC=golang-codereviews, rlh https://codereview.appspot.com/139610043
Diffstat (limited to 'misc/cgo/test/cgo_linux_test.go')
0 files changed, 0 insertions, 0 deletions