aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_debug_test.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2020-04-15 13:56:05 -0400
committerAustin Clements <austin@google.com>2020-04-29 21:29:08 +0000
commitb3863fbbc2fe1dbf516111992854aa9178d01410 (patch)
tree41ef8714fd87578dceceac3daa498b3e211aab57 /src/runtime/export_debug_test.go
parent197a2a3799cebd91ec623616c6b5fac850955b58 (diff)
downloadgo-b3863fbbc2fe1dbf516111992854aa9178d01410.tar.xz
runtime: make newproc1 not start the goroutine
Currently, newproc1 allocates, initializes, and schedules a new goroutine. We're about to change debug call injection in a way that will need to create a new goroutine without immediately scheduling it. To prepare for that, make scheduling the responsibility of newproc1's caller. Currently, there's exactly one caller (newproc), so this simply shifts that responsibility. For #36365. Change-Id: Idacd06b63e738982e840fe995d891bfd377ce23b Reviewed-on: https://go-review.googlesource.com/c/go/+/229298 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/export_debug_test.go')
0 files changed, 0 insertions, 0 deletions