]> Cypherpunks repositories - gostls13.git/commit
runtime: fix crash on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Wed, 11 Oct 2017 23:39:46 +0000 (01:39 +0200)
committerAustin Clements <austin@google.com>
Thu, 12 Oct 2017 00:11:33 +0000 (00:11 +0000)
commit926373ea79cb590352c9acae96288935ec2c8f47
tree9dfa4b6abf1713ceb6da6b50d89e2a750d3f1e42
parenta509cae90d93aec3f1c33c9de445721c0bc7c509
runtime: fix crash on Plan 9

Since CL 46037, the runtime is crashing after calling
exitThread on Plan 9.

The exitThread function shouldn't be called on
Plan 9, because the system manages thread stacks.

Fixes #22221.

Change-Id: I5d61c9660a87dc27e4cfcb3ca3ddcb4b752f2397
Reviewed-on: https://go-review.googlesource.com/70190
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/proc.go