Skip to content

Commit a7c0960

Browse files
authored
back to atomic_relaxed...
1 parent 668bc79 commit a7c0960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/others/blas_server.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ typedef struct {
146146
} thread_status_t;
147147

148148
#ifdef HAVE_C11
149-
#define atomic_load_queue(p) __atomic_load_n(p, __ATOMIC_ACQ_REL)
150-
#define atomic_store_queue(p, v) __atomic_store_n(p, v, __ATOMIC_ACQ_REL)
149+
#define atomic_load_queue(p) __atomic_load_n(p, __ATOMIC_RELAXED)
150+
#define atomic_store_queue(p, v) __atomic_store_n(p, v, __ATOMIC_RELAXED)
151151
#else
152152
#define atomic_load_queue(p) (blas_queue_t*)(*(volatile blas_queue_t**)(p))
153153
#define atomic_store_queue(p, v) (*(volatile blas_queue_t* volatile*)(p) = (v))

0 commit comments

Comments
 (0)