blob: 956a6bef37d4358d9f94f000ac700c527cc70aba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#if 0
#include <stdatomic.h>
__BASE atomic_exchange_explicit(volatile __TYPE *object, __BASE desired, memory_order order)
{
switch (order) {
default:
break;
}
return *object = desired;
}
#endif
|