runtime: lock M during cgo call
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 2016 15:03:04 +0000 (15:03 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 2016 15:03:04 +0000 (15:03 +0000)
commit8aa3d53d57a81604661df063c05425ecce30c257
treeba6682fd67d5ac4f735f2b1d2af42811595c001f
parent596070e8e2337a520117c088138354b7a1ff9c76
runtime: lock M during cgo call

    cgo should lock the M.

    See also https://golang.org/cl/18882 .

    Reviewed-on: https://go-review.googlesource.com/18883

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233670 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/runtime/go-cgo.c