1
0
mirror of https://github.com/golang/go synced 2024-10-04 23:31:22 -06:00
go/src/cmd/cgo
Russ Cox 9b73238daa cgo, runtime: diagnose callback on non-Go thread
Before:
$ go run x.go
signal 11 (core dumped)
$

After:
$ go run x.go
runtime: cgo callback on thread not created by Go.
signal 11 (core dumped)
$

For issue 3068.
Not a fix, but as much of a fix as we can do before Go 1.

R=golang-dev, rogpeppe, gri
CC=golang-dev
https://golang.org/cl/5781047
2012-03-08 12:12:40 -05:00
..
ast.go cmd/cgo: bug fixes 2012-02-19 13:32:55 -05:00
doc.go cmd/cgo: document CGO_LDFLAGS and CGO_CFLAGS 2012-03-07 11:44:47 -05:00
gcc.go cgo: fix definition of opaque types 2012-02-22 17:10:25 -02:00
godefs.go cmd/cgo: bug fixes 2012-02-19 13:32:55 -05:00
main.go all: remove some references to Make.inc etc. 2012-03-07 13:51:49 +11:00
out.go cgo, runtime: diagnose callback on non-Go thread 2012-03-08 12:12:40 -05:00
util.go os: release process handle at the end of windows (*Process).Wait 2012-03-01 17:36:35 +11:00