aboutsummaryrefslogtreecommitdiff
path: root/src/lib/once.go
AgeCommit message (Collapse)Author
2009-05-05directory-per-package step 1: move files from lib/X.go to lib/X/X.goRob Pike
no substantive changes except: - new Makefiles, all auto-generated - go/src/lib/Makefile has been extensively edited R=rsc OCL=28310 CL=28310
2009-03-06document onceRob Pike
R=rsc DELTA=14 (7 added, 5 deleted, 2 changed) OCL=25818 CL=25834
2009-02-15assorted changes:Russ Cox
- use a lock instead of a thread in once avoids deadlock in recursive once calls - implement os.Setenv - remove "export" from some scripts - remove _ from names in time package - fix time test for non-MTV machines R=r DELTA=265 (87 added, 58 deleted, 120 changed) OCL=25057 CL=25057
2009-02-13convert composite literals from { } to ( ).Russ Cox
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-01-30update go code tree to new func rules.Russ Cox
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-16casify miscRuss Cox
R=r DELTA=247 (20 added, 50 deleted, 177 changed) OCL=22951 CL=22955
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-10-07update code to follow new semicolon rules:Russ Cox
* 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-22add "once" packageRuss Cox
R=r DELTA=79 (79 added, 0 deleted, 0 changed) OCL=15656 CL=15656