Skip to content

Commit 88288b3

Browse files
authored
revert change
1 parent 947fda6 commit 88288b3

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_RELAXED)
150-
#define atomic_store_queue(p, v) __atomic_store_n(p, v, __ATOMIC_RELAXED)
149+
#define atomic_load_queue(p) __atomic_load_n(p, __ATOMIC_ACQUIRE)
150+
#define atomic_store_queue(p, v) __atomic_store_n(p, v, __ATOMIC_RELEASE)
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)