runtime: lock M during cgo call
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 24 Feb 2016 15:03:04 +0000 (15:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 24 Feb 2016 15:03:04 +0000 (15:03 +0000)
commit4501d9ad44510a07e5f07439275b39198268cf47
treeba6682fd67d5ac4f735f2b1d2af42811595c001f
parentf802a42401e16c7b918cee539e3c38f4d6f7a336
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

From-SVN: r233670
gcc/go/gofrontend/MERGE
libgo/runtime/go-cgo.c