summaryrefslogtreecommitdiff
path: root/test/ken/chan.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+329
2011-09-13Imported Upstream version 60Ondřej Surý1-329/+0
2010-03-30single argument panicRuss Cox1-171/+171
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev http://codereview.appspot.com/850041
2010-01-19Add explicit locking.Ian Lance Taylor1-7/+29
Since gcco runs goroutines in independent threads, it needs locking for the global variables. This shows up when I use ordinary increments rather than locked increments for var++. R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/190074
2009-12-10make test/ken safe for optional semisRobert Griesemer1-46/+24
R=rsc, ken2, ken3 http://codereview.appspot.com/174042
2009-05-08move things out of sys into os and runtimeRuss Cox1-7/+9
R=r OCL=28569 CL=28573
2009-01-20delete exportRuss Cox1-1/+1
TBR=r OCL=23121 CL=23127
2009-01-16convert tests; nothing interesting.Russ Cox1-5/+5
R=r OCL=23012 CL=23014
2009-01-16casify, cleanup sysRuss Cox1-7/+7
R=r OCL=22978 CL=22984
2009-01-06new new & makeRuss Cox1-4/+4
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-3/+3
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18arraysKen Thompson1-5/+16
R=r OCL=21564 CL=21564
2008-10-07update code to follow new semicolon rules:Russ Cox1-1/+1
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-20another async select bugKen Thompson1-139/+185
R=r OCL=15599 CL=15599
2008-09-20fix some testsRob Pike1-1/+4
R=ken OCL=15598 CL=15598
2008-09-19channel testKen Thompson1-0/+267
R=r OCL=15587 CL=15587