Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reland][ADT][ConcurrentHashTable] adapt ConcurrentHashTable and its …
…users to LLVM_ENABLE_THREADS=0 mode. This patch hides thread specific handling under LLVM_ENABLE_THREADS guard. It also removes usages of thread_local variables, since it has a weak support on some platforms. Instead, the patch uses single mutex for locking allocator. That may be replaced with more effective allocator later. f.e. D142318 Differential Revision: https://reviews.llvm.org/D147649
- Loading branch information
Showing
4 changed files
with
59 additions
and
36 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
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