gcc/libgo/runtime
Ian Lance Taylor 938ff79ae7 runtime: use sched_getaffinity for runtime.NumCPU() on Linux
Fixes Go issue 3921 for gccgo.

From Shenghou Ma.

From-SVN: r190282
2012-08-10 06:08:11 +00:00
..
arch.h
array.h
chan.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
cpuprof.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
defs.h
getncpu-bsd.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
getncpu-irix.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
getncpu-linux.c runtime: use sched_getaffinity for runtime.NumCPU() on Linux 2012-08-10 06:08:11 +00:00
getncpu-none.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
getncpu-solaris.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
go-alloc.h
go-append.c
go-assert-interface.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-assert.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
go-assert.h
go-breakpoint.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-byte-array-to-string.c
go-caller.c runtime: Correct definition of __go_file_line to match declaration. 2012-05-24 20:47:09 +00:00
go-callers.c runtime: Tweak runtime.Callers for Go 1 compatibility. 2012-05-22 21:52:56 +00:00
go-can-convert-interface.c
go-cgo.c runtime: Better SWIG interface for allocating Go memory from C/C++. 2012-06-04 05:34:59 +00:00
go-check-interface.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-construct-map.c
go-convert-interface.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-copy.c
go-defer.c
go-defer.h
go-deferred-recover.c
go-eface-compare.c
go-eface-val-compare.c
go-getgoroot.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-int-array-to-string.c
go-int-to-string.c
go-interface-compare.c
go-interface-eface-compare.c
go-interface-val-compare.c
go-main.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
go-make-slice.c compiler, runtime: Check make int64 args for overflow. 2012-02-08 06:18:41 +00:00
go-map-delete.c
go-map-index.c
go-map-len.c
go-map-range.c
go-matherr.c runtime: Use __builtin_{inf,nan} rather than INFINITY/NAN. 2012-02-10 00:40:27 +00:00
go-nanotime.c
go-new-map.c runtime: correct a logic error in hashmap growth. 2012-07-23 03:57:28 +00:00
go-new.c
go-nosys.c re PR go/52358 (math FAILs on Solaris 8 and 9) 2012-04-27 16:38:11 +00:00
go-now.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-panic.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
go-panic.h libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-print.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
go-recover.c runtime: Tweak __go_can_recover for SPARC. 2012-02-11 00:15:54 +00:00
go-reflect-call.c re PR go/48407 (libgo/configure --without-libffi doesn't work) 2012-02-14 20:47:35 +00:00
go-reflect-map.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-rune.c
go-runtime-error.c compiler, runtime: Add explicit checks for zero and overflow division. 2012-04-20 19:21:39 +00:00
go-setenv.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-signal.c runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it. 2012-07-26 01:57:04 +00:00
go-strcmp.c
go-string-to-byte-array.c
go-string-to-int-array.c
go-string.h
go-strplus.c
go-strslice.c
go-traceback.c runtime: Fix printing of names in stack dumps. 2012-06-07 06:34:52 +00:00
go-trampoline.c runtime: More efficient implementation of trampolines. 2012-05-25 21:51:39 +00:00
go-type-complex.c
go-type-eface.c
go-type-error.c
go-type-float.c
go-type-identity.c re PR go/52342 (64-bit go.test/test/chan/doubleselect.go times out on Solaris/SPARC) 2012-03-05 06:39:08 +00:00
go-type-interface.c
go-type-string.c
go-type.h
go-typedesc-equal.c
go-typestring.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-unsafe-new.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-unsafe-newarray.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-unsafe-pointer.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-unwind.c
goc2c.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
iface.goc
interface.h
lock_futex.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
lock_sema.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
malloc.goc libgo: Update to Go 1.0.2 release. 2012-06-25 16:20:03 +00:00
malloc.h libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
map.goc
map.h
mcache.c
mcentral.c
mem_posix_memalign.c
mem.c runtime: Add type casts to fix Solaris build. 2012-03-02 20:48:21 +00:00
mfinal.c libgo: Update to Go 1.0.2 release. 2012-06-25 16:20:03 +00:00
mfixalloc.c
mgc0.c libgo: Update to Go 1.0.2 release. 2012-06-25 16:20:03 +00:00
mheap.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
mprof.goc runtime: Make runtime.Stack actually work. 2012-05-24 21:07:18 +00:00
msize.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
print.c runtime: Fix cast error in print.c on 32-bit systems. 2012-05-25 18:22:01 +00:00
proc.c runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it. 2012-07-26 01:57:04 +00:00
reflect.goc libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
rtems-task-variable-add.c
runtime1.goc
runtime.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
runtime.h runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
sema.goc libgo: Update to weekly.2012-02-22 release. 2012-03-02 20:01:37 +00:00
signal_unix.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
sigqueue.goc libgo: Update to weekly.2012-02-22 release. 2012-03-02 20:01:37 +00:00
string.goc
thread-linux.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
thread-sema.c runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
thread.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
time.goc libgo: Update to Go 1.0.2 release. 2012-06-25 16:20:03 +00:00
yield.c