summaryrefslogtreecommitdiff
path: root/src/pkg/integer.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-08-04 16:43:49 -0700
committerRuss Cox <rsc@golang.org>2008-08-04 16:43:49 -0700
commit058f49d45414069884317b918b8506db8708d31e (patch)
tree9bbd3f46848f10a65f701fb12cbddadf5e59b114 /src/pkg/integer.go
parent87ca539278c51e941e67d8d0d05eeae64fdc64e1 (diff)
downloadgolang-058f49d45414069884317b918b8506db8708d31e.tar.gz
first cut at multithreading. works on Linux.
* kick off new os procs (machs) as needed * add sys·sleep for testing * add Lock, Rendez * properly lock mal, sys·newproc, scheduler * linux syscall arg #4 is in R10, not CX * chans are not multithread-safe yet * multithreading disabled by default; set $gomaxprocs=2 (or 1000) to turn it on This should build on OS X but may not. Rob and I will fix soon after submitting. TBR=r OCL=13784 CL=13842
Diffstat (limited to 'src/pkg/integer.go')
0 files changed, 0 insertions, 0 deletions