go/src/syscall
Russ Cox d28acc42ec 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
2008-08-04 16:43:49 -07:00
..
Makefile rewrite system call interface to use less assembler. 2008-07-29 14:44:48 -07:00
errstr_darwin.go use new export syntax to avoid repetition 2008-08-04 14:23:51 -07:00
errstr_linux.go use new export syntax to avoid repetition 2008-08-04 14:23:51 -07:00
file_amd64_darwin.go - mark syscall support routines as non-stack-generating 2008-07-30 14:23:53 -07:00
file_amd64_linux.go - mark syscall support routines as non-stack-generating 2008-07-30 14:23:53 -07:00
syscall.go fix a comment 2008-07-29 15:17:27 -07:00
syscall_amd64_darwin.s - mark syscall support routines as non-stack-generating 2008-07-30 14:23:53 -07:00
syscall_amd64_linux.s first cut at multithreading. works on Linux. 2008-08-04 16:43:49 -07:00