Commit f076ad89 authored by Joel Sing's avatar Joel Sing

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/7490Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 4feee8c6
......@@ -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")
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment