-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use crossbeam to get safety & stability.
This converts `map`, `unordered_map`, `Pool::map` and `Pool::unordered_map` to take a `crossbeam::Scope` argument, instead of using the API of the old `thread::scoped` to return a guard (where the destructor was required to run to ensure safety, something not guaranteed). See rust-lang/rust#24292 for more discussion of the issues with that API.
- Loading branch information
Showing
7 changed files
with
207 additions
and
126 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
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.