Skip to content

Commit

Permalink
Fixed data race
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Jun 15, 2024
1 parent 1b1f6d2 commit d1c5a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/virtual_machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void randomx_vm::initialize() {

namespace randomx {

alignas(16) volatile static rx_vec_i128 aesDummy;
alignas(16) volatile static thread_local rx_vec_i128 aesDummy;

template<class Allocator, bool softAes>
VmBase<Allocator, softAes>::~VmBase() {
Expand Down

0 comments on commit d1c5a15

Please sign in to comment.