]> Cypherpunks repositories - gostls13.git/commit
runtime: work around NetBSD bug in thread creation
authorBenny Siegert <bsiegert@gmail.com>
Fri, 21 Apr 2017 08:48:57 +0000 (08:48 +0000)
committerIan Lance Taylor <iant@golang.org>
Wed, 31 May 2017 00:50:43 +0000 (00:50 +0000)
commitc6e7cb4a375966f7b034e6dbf439a58ea326104a
treec3ec9894ebd741cba12a4e3b6b278e862d4994a2
parent708a01fbf40cfd82675923f88dd306ef6eb17114
runtime: work around NetBSD bug in thread creation

Block signals explicitly during lwp_create since blocking via
the context does not work.

This was originally added in pkgsrc as
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/go/patches/patch-src_runtime_os__netbsd.go?rev=1.1

Fixes #19295.

Change-Id: I431e70c047cff446e9cfc20d356f45df98c63487
Reviewed-on: https://go-review.googlesource.com/41350
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/os_netbsd.go