summaryrefslogtreecommitdiff
path: root/src/pkg/sync
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý19-125/+1006
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý18-0/+2324
2011-09-13Imported Upstream version 60Ondřej Surý18-1981/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý4-35/+168
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý4-26/+81
2011-05-04Imported Upstream version 57upstream/57Ondřej Surý1-2/+19
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-5/+4
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý5-22/+105
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý18-173/+1136
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý6-11/+174
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý2-2/+2
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý6-6/+80
2010-02-18sync: allow to work on armv5Dean Prichard3-1/+55
asm_arm.s was using ldrex which does not work on armv5. Tested on Sheevaplug. R=rsc, kaib CC=golang-dev http://codereview.appspot.com/214049 Committer: Kai Backman <kaib@golang.org>
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox3-3/+3
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2009-12-151) Change default gofmt default settings forRobert Griesemer4-98/+98
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ó5-49/+202
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-24Add benchmarks for commonly used routines.Trevor Strohman1-6/+44
R=rsc, r, r1 http://codereview.appspot.com/160046 Committer: Russ Cox <rsc@golang.org>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 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 Griesemer2-7/+7
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-11-04gofmt-ify sort, syncRobert Griesemer1-3/+3
R=rsc http://go/go-review/1018057
2009-10-15publish semacquire and semrelease for use by sync.Russ Cox3-29/+16
more enforcing package boundaries R=r DELTA=46 (13 added, 15 deleted, 18 changed) OCL=35806 CL=35806
2009-10-14casKai Backman1-2/+18
R=rsc APPROVED=rsc DELTA=31 (1 added, 8 deleted, 22 changed) OCL=35752 CL=35757
2009-10-07apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync ↵Russ Cox3-9/+7
syscall testing time unicode unsafe utf8 R=gri DELTA=1409 (79 added, 24 deleted, 1306 changed) OCL=35415 CL=35437
2009-08-12convert low-level (used by testing) packages toRuss Cox3-56/+24
whole-package compilation. new Makefiles, tests now in separate package bytes flag fmt io math once os reflect strconv sync time utf8 delete import "xxx" in package xxx. inside package xxx, xxx is not declared anymore so s/xxx.//g delete file and package level forward declarations. note the new internal_test.go and sync and strconv to provide public access to internals during testing. the installed version of the package omits that file and thus does not open the internals to all clients. R=r OCL=33065 CL=33097
2009-07-02sys.cas for mutexKai Backman1-0/+14
R=rsc APPROVED=rsc DELTA=28 (28 added, 0 deleted, 0 changed) OCL=31128 CL=31130
2009-06-09mv src/lib to src/pkgRob Pike5-0/+274
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102