1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:21:22 -06:00
go/src/pkg/sync
Gustavo Niemeyer 63457d089e sync: Proposal for barrier implementation
As discussed in the mailing list, this adds a simple barrier
implementation to the sync package which enables one or more
goroutines to wait for a counter to go down to zero.

R=rsc, rog, r
CC=golang-dev
https://golang.org/cl/3770045
2011-02-03 12:39:11 -08:00
..
asm_386.s in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
asm_amd64.s in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
asm_arm5.s sync: small naming fix for armv5 2010-12-07 12:05:00 -05:00
asm_arm6.s sync: allow to work on armv5 2010-02-18 15:37:16 -08:00
Makefile sync: Proposal for barrier implementation 2011-02-03 12:39:11 -08:00
mutex_test.go 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
mutex.go sync: Proposal for barrier implementation 2011-02-03 12:39:11 -08:00
once_test.go sync: add sync.Once, a proposed replacement for package once. 2010-08-05 13:31:10 +10:00
once.go sync: a couple of documentation nits. 2011-01-29 14:56:15 -08:00
rwmutex_test.go 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
rwmutex.go sync: tidy a couple of comments. 2011-02-01 21:29:46 -08:00
waitgroup_test.go sync: Proposal for barrier implementation 2011-02-03 12:39:11 -08:00
waitgroup.go sync: Proposal for barrier implementation 2011-02-03 12:39:11 -08:00
xadd_test.go sync.RWMutex: rewritten to add support for concurrent readers. 2009-11-30 12:10:56 -08:00