diff options
| author | Joel Sing <jsing@google.com> | 2015-03-13 01:52:12 +1100 |
|---|---|---|
| committer | Joel Sing <jsing@google.com> | 2015-03-13 02:51:33 +0000 |
| commit | f076ad893b70048cb4955bf04dbbec0adeb27dd7 (patch) | |
| tree | 23c5f5a380649a62c48ed26e62aac78562517d74 /src | |
| parent | 4feee8c6590c3df6a474931512d7d61de2c56121 (diff) | |
| download | go-f076ad893b70048cb4955bf04dbbec0adeb27dd7.tar.xz | |
runtime: remove reference to openbsd kern.rthreads sysctl
The kern.rthreads sysctl has not existed for a long time - there is no way to
disable rthreads and __tfork no longer returns ENOTSUP.
Change-Id: Ia50ff01ac86ea83358e72b8f45f7818aaec1e4b1
Reviewed-on: https://go-review.googlesource.com/7490
Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/os1_openbsd.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/os1_openbsd.go b/src/runtime/os1_openbsd.go index 04779ea870..92a19fe31b 100644 --- a/src/runtime/os1_openbsd.go +++ b/src/runtime/os1_openbsd.go @@ -117,9 +117,6 @@ func newosproc(mp *m, stk unsafe.Pointer) { if ret < 0 { print("runtime: failed to create new OS thread (have ", mcount()-1, " already; errno=", -ret, ")\n") - if ret == -_ENOTSUP { - print("runtime: is kern.rthreads disabled?\n") - } throw("runtime.newosproc") } } |
