1
0
mirror of https://github.com/golang/go synced 2024-10-05 00:21:21 -06:00
go/src/pkg/sync
Gaal Yahas c2fb6e2c0b sync: improve WaitGroup example by putting the call to Done in a
deferred block. This makes hangs in the waiting code less likely
if a goroutine exits abnormally.

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/7306052
2013-02-07 00:39:52 +08:00
..
atomic all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
cond_test.go
cond.go race: sync changes 2012-10-07 22:07:03 +04:00
example_test.go sync: improve WaitGroup example by putting the call to Done in a 2013-02-07 00:39:52 +08:00
export_test.go runtime: API 2012-02-19 00:11:44 -05:00
mutex_test.go runtime: API 2012-02-19 00:11:44 -05:00
mutex.go race: sync changes 2012-10-07 22:07:03 +04:00
once_test.go sync: add Once test with panic 2012-09-20 23:29:29 +04:00
once.go sync: use atomic.Store in Once.Do 2012-05-14 19:27:29 +04:00
race0.go race: sync changes 2012-10-07 22:07:03 +04:00
race.go race: sync changes 2012-10-07 22:07:03 +04:00
runtime_sema_test.go runtime: API 2012-02-19 00:11:44 -05:00
runtime.go runtime: API 2012-02-19 00:11:44 -05:00
rwmutex_test.go all: update 'gotest' to 'go test' 2012-02-13 13:58:17 -05:00
rwmutex.go race: sync changes 2012-10-07 22:07:03 +04:00
waitgroup_test.go sync: mention that WaitGroup.Add panics 2012-07-19 11:55:03 -07:00
waitgroup.go race: sync changes 2012-10-07 22:07:03 +04:00