]> Cypherpunks repositories - gostls13.git/commit
runtime: run newproc1 on M stack.
authorDaniel Morsing <daniel.morsing@gmail.com>
Sat, 23 Aug 2014 14:42:30 +0000 (15:42 +0100)
committerDaniel Morsing <daniel.morsing@gmail.com>
Sat, 23 Aug 2014 14:42:30 +0000 (15:42 +0100)
commit6ed58c296280575cc817d614bee0b19744e1ee55
tree877dfad80ecbb80665e67782f155532c2087792f
parentd2165672ca8f9bf02389f02ad211ec34394cb722
runtime: run newproc1 on M stack.

This makes newproc invisible to the GC. This is a pretty simple change since parts of newproc already depends on being run on the M stack.

LGTM=dvyukov
R=golang-codereviews, dvyukov
CC=golang-codereviews, khr
https://golang.org/cl/129520043
src/pkg/runtime/proc.c
src/pkg/runtime/race.c