Skip to content

threadsafe_hash_map should use hardware_destructive_interference_size for cache_line_size #27

@kenba

Description

@kenba

C++ 17 introduced hardware_destructive_interference_size as the minimum offset between two objects to avoid false sharing.
This value should be used in the threadsafe_hash_map class instead of cache_line_size.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions