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 Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
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 runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
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 Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
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 runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
go-defer.h Fix defer when not calling recover in function with named results. 2011-09-16 05:47:20 +00:00
go-deferred-recover.c runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
go-eface-compare.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-eface-val-compare.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-getgoroot.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
go-int-array-to-string.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-int-to-string.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-interface-compare.c
go-interface-eface-compare.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
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 libgo: Solaris and Irix compatibility patches. 2012-01-17 14:18:39 +00:00
go-map-index.c libgo: Solaris and Irix compatibility patches. 2012-01-17 14:18:39 +00:00
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 libgo: Update to weekly.2011-12-02. 2011-12-13 19:16:27 +00:00
go-new-map.c runtime: correct a logic error in hashmap growth. 2012-07-23 03:57:28 +00:00
go-new.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
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 Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-string-to-int-array.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-string.h
go-strplus.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-strslice.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
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 compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-eface.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-error.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-float.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
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 compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-string.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type.h compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
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 runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
goc2c.c libgo: Use -fgo-pkgpath. 2012-05-14 22:08:42 +00:00
iface.goc runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
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 runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
map.h Use backend interface for map descriptors. 2011-06-11 06:21:55 +00:00
mcache.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
mcentral.c runtime: New lock/note implementation. 2011-11-22 20:24:44 +00:00
mem_posix_memalign.c runtime: RTEMS build fixes. 2011-12-13 21:59:26 +00:00
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 Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
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 libgo: Update to weekly.2012-01-15. 2012-01-25 20:56:26 +00:00
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 libgo: Update to weekly.2011-12-22. 2012-01-13 05:11:45 +00:00
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 libgo/runtime: Don't define _GNU_SOURCE in source code. 2011-12-20 18:49:40 +00:00