fix: broadcast to all rendezvous at once when spawn done

Change-Id: Ic04bc2f56aa40c2af42a1fdb3c261a10e8346033
This commit is contained in:
buyuxiang
2022-02-17 12:39:55 +08:00
parent 9fd2367367
commit 0f7ea53e56
4 changed files with 17 additions and 10 deletions
+2 -2
View File
@@ -128,8 +128,8 @@ func (b *Boomer) Quit() {
b.localRunner.stop()
}
func (b *Boomer) IsSpawnDone() bool {
return b.localRunner.isSpawnDone
func (b *Boomer) GetSpawnDoneChan() chan struct{} {
return b.localRunner.spawnDone
}
func (b *Boomer) GetSpawnCount() int {