Update Cluster Slots to support multiple threads (#9071)

Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
carllin
2020-03-25 18:09:19 -07:00
committed by GitHub
parent 40eba48109
commit 076fef5e57
7 changed files with 186 additions and 137 deletions

View File

@ -884,7 +884,7 @@ mod tests {
})
.collect();
// Each validator can exit in parallel to speed many sequential calls to `join`
// Each validator can exit in parallel to speed many sequential calls to join`
validators.iter_mut().for_each(|v| v.exit());
// While join is called sequentially, the above exit call notified all the
// validators to exit from all their threads