MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Run

Method Run

pkg/queue/thread.go:13–20  ·  view source on GitHub ↗
(fn func())

Source from the content-addressed store, hash-verified

11}
12
13func (g *routineGroup) Run(fn func()) {
14 g.waitGroup.Add(1)
15
16 go func() {
17 defer g.waitGroup.Done()
18 fn()
19 }()
20}
21
22func (g *routineGroup) Wait() {
23 g.waitGroup.Wait()

Callers 11

GenerateMethod · 0.80
testFFProbeGeneratorFunction · 0.80
testVipsGeneratorFunction · 0.80
testFfmpegGeneratorFunction · 0.80
testLibreOfficeGeneratorFunction · 0.80
testLibRawGeneratorFunction · 0.80
GenerateMethod · 0.80
GenerateMethod · 0.80
GenerateMethod · 0.80
StartMethod · 0.80
startMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected