aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2017-10-17 00:31:56 +0200
committerDavid du Colombier <0intro@gmail.com>2017-10-17 15:15:12 +0000
commitf4faca60135bea528a29f454876efa642b00665e (patch)
tree59945e8ac17ea7711b69026007c5ea5cac8c10a0 /src/database/sql/sql.go
parentd155b32f8de6a2a30c0567ec44f90ffab80ed6dc (diff)
downloadgo-f4faca60135bea528a29f454876efa642b00665e.tar.xz
runtime: don't terminate locked OS threads on Plan 9
CL 46037 and CL 46038 implemented termination of locked OS threads when the goroutine exits. However, this behavior leads to crashes of Go programs using runtime.LockOSThread on Plan 9. This is notably the case of the os/exec and net packages. This change disables termination of locked OS threads on Plan 9. Updates #22227. Change-Id: If9fa241bff1c0b68e7e9e321e06e5203b3923212 Reviewed-on: https://go-review.googlesource.com/71230 Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions