OSDN Git Service

runtime: support NumCPU() on more platforms
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Aug 2012 04:42:49 +0000 (04:42 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Aug 2012 04:42:49 +0000 (04:42 +0000)
commite04e2524c2b8b288529c2cbcf217c25035be0236
tree1bca221ed18cd8f917eb75d5ad3cf307a2cb51e1
parentf8c23635dafc9c0c41c9f6abea40809c6542ddb3
runtime: support NumCPU() on more platforms
        Added support for Solaris, Irix, *BSD (including Darwin).
        Still missing support for RTEMS.
        Fixes issue 3698 in Go issue tracker.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190197 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/Makefile.am
libgo/Makefile.in
libgo/runtime/getncpu-bsd.c [new file with mode: 0644]
libgo/runtime/getncpu-irix.c [new file with mode: 0644]
libgo/runtime/getncpu-linux.c [new file with mode: 0644]
libgo/runtime/getncpu-none.c [new file with mode: 0644]
libgo/runtime/getncpu-solaris.c [new file with mode: 0644]
libgo/runtime/runtime.h
libgo/runtime/thread-linux.c
libgo/runtime/thread-sema.c