]> Cypherpunks repositories - gostls13.git/commit
runtime: use C for readgstatus, goroutine status values
authorRuss Cox <rsc@golang.org>
Thu, 4 Sep 2014 18:19:50 +0000 (14:19 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 4 Sep 2014 18:19:50 +0000 (14:19 -0400)
commit503bcd464e8974b3295177c1a0ed5a4ba5bc5a01
treecaa0bfe3992606b2a8a7a6d543e5a315293f4647
parent81ed684a710087eb9745566fa49e57e048088193
runtime: use C for readgstatus, goroutine status values

When this code was written, there was no way for Go to
reuse the C function and enum values. Now there is.

LGTM=bradfitz
R=rlh, bradfitz
CC=dvyukov, golang-codereviews, iant, khr, r
https://golang.org/cl/139150045
src/pkg/runtime/proc.c
src/pkg/runtime/proc.go