History

stdatomic: memory models as macros

Dmitry Selyutin committed 5 years ago

Commit 5053fd01 parent 02ea8641 file · +7 −0Browse files

Unified · Split

include/tccdefs.h+7−0
@@ -78,6 +78,13 @@ · 77 unmodified lines
7878 #endif
7979 #endif
8080
81+ #define __ATOMIC_RELAXED 0
82+ #define __ATOMIC_CONSUME 1
83+ #define __ATOMIC_ACQUIRE 2
84+ #define __ATOMIC_RELEASE 3
85+ #define __ATOMIC_ACQ_REL 4
86+ #define __ATOMIC_SEQ_CST 5
87+
8188 #if defined _WIN32
8289 #define __declspec(x) __attribute__((x))
8390 #define __cdecl

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t