summaryrefslogtreecommitdiff
path: root/src/pkg/sync/mutex.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+95
2011-09-13Imported Upstream version 60Ondřej Surý1-95/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-13/+50
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-5/+4
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-19/+12
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-5/+10
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-3/+4
2009-12-151) Change default gofmt default settings forRobert Griesemer1-7/+7
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180049
2009-11-30sync.RWMutex: rewritten to add support for concurrent readers.Péter Szabó1-49/+3
Also made sync.xadd public to help testing sync.RWMutex. Also added unit tests for sync.RWMutex. R=rsc http://codereview.appspot.com/162044 Committer: Russ Cox <rsc@golang.org>
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-1/+1
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-3/+3
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-12/+4
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-10-15publish semacquire and semrelease for use by sync.Russ Cox1-10/+11
more enforcing package boundaries R=r DELTA=46 (13 added, 15 deleted, 18 changed) OCL=35806 CL=35806
2009-10-07apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync ↵Russ Cox1-4/+3
syscall testing time unicode unsafe utf8 R=gri DELTA=1409 (79 added, 24 deleted, 1306 changed) OCL=35415 CL=35437
2009-06-09mv src/lib to src/pkgRob Pike1-0/+114
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102