-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return thread handles from new
runThreads
Re-implement the logic of `run` as a function that returns the handles which can then be joined by the caller. Most usage sites require a bit of thought with respect to the order of operations, so `GossipService.run` remains as a wrapper around the new logic. This also makes it take a `message_allocator`.
- Loading branch information
1 parent
0fdd396
commit 570ee93
Showing
3 changed files
with
153 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.