summaryrefslogtreecommitdiff
path: root/src/stdatomic/atomic_exchange.c
blob: ccc362653478a0de5f1078d0e848225a042e5009 (plain)
1
2
3
4
5
6
7
8
9
10
11
#if 0

#include <stdatomic.h>

__BASE atomic_exchange(volatile __TYPE *object, __BASE desired)
{
	return *object = desired;
}


#endif