Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Use a new tbb::concurrent_hash_map to record block end.
In addition, when adding out-going edges to a block, we first query the block end hash map to get the accessor to the block. When splitting the block, we also first query the block end hash map to get the access to the block. tbb::concurrent_hash_map provides implicit read-write lock through the accessor. Therefore, we enforce that adding out-going edges are not going to be concurrent with block split. 2. Add a bunch of asserts that check edge consistency. This is for debug purpose and will be removed later
- Loading branch information
Showing
5 changed files
with
258 additions
and
115 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.