]> Cypherpunks repositories - gostls13.git/commit
runtime: disable use of template thread on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Thu, 12 Oct 2017 20:59:16 +0000 (22:59 +0200)
committerDavid du Colombier <0intro@gmail.com>
Tue, 17 Oct 2017 15:15:07 +0000 (15:15 +0000)
commitd155b32f8de6a2a30c0567ec44f90ffab80ed6dc
tree080bd75200649a878c1634b05eb6e1febbb3464b
parent18508740b98db671608773c5f39bfa2718370f50
runtime: disable use of template thread on Plan 9

CL 46033 added a "template thread" mechanism to
allow creation of thread with a known-good state
from a thread of unknown state.

However, we are experiencing issues on Plan 9
with programs using the os/exec and net package.
These package are relying on runtime.LockOSThread.

Updates #22227.

Change-Id: I85b71580a41df9fe8b24bd8623c064b6773288b0
Reviewed-on: https://go-review.googlesource.com/70231
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