]> Cypherpunks repositories - gostls13.git/commit
runtime: set runtime ncpu on openbsd
authorJoel Sing <jsing@google.com>
Wed, 5 Oct 2011 17:16:43 +0000 (13:16 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 5 Oct 2011 17:16:43 +0000 (13:16 -0400)
commitb2f1eba3248897615f9d7c296b6531021f6c58ae
tree5327a03fb793a9be8bec58884efdcca6b05353f7
parent457dfd7546990e84247695fe2be6952e7ec3e59c
runtime: set runtime ncpu on openbsd

Set the runtime ncpu based on the hw.ncpu sysctl.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5191043
src/pkg/runtime/openbsd/386/sys.s
src/pkg/runtime/openbsd/amd64/sys.s
src/pkg/runtime/openbsd/os.h
src/pkg/runtime/openbsd/thread.c