Skip to content

Commit

Permalink
Merge pull request #41 from AntelopeIO/remove_hdis
Browse files Browse the repository at this point in the history
remove `hardware_destructive_interference_size` to silence `interference-size` warning
  • Loading branch information
spoonincode authored Apr 16, 2024
2 parents 3d65099 + eddbff8 commit 21e66b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libraries/chain/include/eosio/chain/thread_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace eosio { namespace chain {
// Use instead of std::atomic when std::atomic does not support type
template <typename T>
class large_atomic {
alignas(hardware_destructive_interference_size)
mutable std::mutex mtx;
T value{};
public:
Expand Down

0 comments on commit 21e66b5

Please sign in to comment.