]> Cypherpunks repositories - gostls13.git/commit
runtime: save correct pid for new m's on plan9/amd64
authorAnthony Martin <ality@pbrane.org>
Fri, 12 Sep 2014 08:21:51 +0000 (01:21 -0700)
committerAnthony Martin <ality@pbrane.org>
Fri, 12 Sep 2014 08:21:51 +0000 (01:21 -0700)
commit70f928698b8416efa544029cfa0f0f7178cdd51b
treeb88472652eee4cf036ed4902572a6abf8ed8d0e4
parent860a645927479c89e41a157ab446f0f3f66951df
runtime: save correct pid for new m's on plan9/amd64

The pid field in the Tos structure is a 32-bit value.
Loading a 64-bit word also brings in the next field
which is used for the profiling clock.

LGTM=0intro, aram
R=rsc, 0intro, aram
CC=golang-codereviews, mischief
https://golang.org/cl/139560044
src/runtime/sys_plan9_amd64.s