OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:WaitGroup
(Results
1 - 2
of
2
) sorted by null
/prebuilts/go/darwin-x86/src/sync/
waitgroup.go
13
// A
WaitGroup
waits for a collection of goroutines to finish.
19
// A
WaitGroup
must not be copied after first use.
20
type
WaitGroup
struct {
31
func (wg *
WaitGroup
) state() *uint64 {
39
// Add adds delta, which may be negative, to the
WaitGroup
counter.
49
// If a
WaitGroup
is reused to wait for several independent sets of events,
51
// See the
WaitGroup
example.
52
func (wg *
WaitGroup
) Add(delta int) {
75
panic("sync: negative
WaitGroup
counter")
78
panic("sync:
WaitGroup
misuse: Add called concurrently with Wait"
[
all
...]
/prebuilts/go/linux-x86/src/sync/
waitgroup.go
13
// A
WaitGroup
waits for a collection of goroutines to finish.
19
// A
WaitGroup
must not be copied after first use.
20
type
WaitGroup
struct {
31
func (wg *
WaitGroup
) state() *uint64 {
39
// Add adds delta, which may be negative, to the
WaitGroup
counter.
49
// If a
WaitGroup
is reused to wait for several independent sets of events,
51
// See the
WaitGroup
example.
52
func (wg *
WaitGroup
) Add(delta int) {
75
panic("sync: negative
WaitGroup
counter")
78
panic("sync:
WaitGroup
misuse: Add called concurrently with Wait"
[
all
...]
Completed in 340 milliseconds