Skip to content

Commit

Permalink
Merge pull request #315 from insertinterestingnamehere/perf
Browse files Browse the repository at this point in the history
Additional Performance Fixes
  • Loading branch information
insertinterestingnamehere authored Dec 17, 2024
2 parents af98f00 + 80c4b76 commit 1e23280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/qthread/qthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ using std::memory_order_relaxed;

#include "macros.h"

#define MACHINE_FENCE atomic_thread_fence(memory_order_seq_cst);
#define MACHINE_FENCE atomic_thread_fence(memory_order_acq_rel);

#if QTHREAD_ASSEMBLY_ARCH == QTHREAD_AMD64
#define QTHREAD_SWAPS_IMPLY_ACQ_REL_FENCES
Expand Down

0 comments on commit 1e23280

Please sign in to comment.