summaryrefslogtreecommitdiff
path: root/src/stdatomic/atomic_load_explicit.c
blob: 9ff16704337e4673165ceca3ad60141c1298bba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#if 0

#include <stdatomic.h>

__BASE atomic_load_explicit(const volatile __TYPE *object, memory_order order)
{
	switch (order) {
	case memory_order_acquire:
	case memory_order_consume:
	case memory_order_acq_rel:
		abort();
		break;

	default:
		break;
	}

	return *object;
}


#endif

/*
STDC(201112)
*/