• Russ Cox's avatar
    first cut at multithreading. works on Linux. · d28acc42
    Russ Cox authored
    * 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
    d28acc42
Name
Last commit
Last update
..
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
ar Loading commit data...
cc Loading commit data...
gc Loading commit data...
nm Loading commit data...
clean.bash Loading commit data...
make.bash Loading commit data...