summaryrefslogtreecommitdiffstats
path: root/regressions/ck_pr/benchmark/ck_pr_cas_64.c
blob: 90dcb64b0e7ac7084b9ed727aec5c8cd1a3bcac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <ck_pr.h>

#ifdef CK_F_PR_CAS_64
#define ATOMIC ck_pr_cas_64(object, 1, 1)
#define ATOMIC_STRING "ck_pr_cas_64"
#include "benchmark.h"
#else
#warning Did not find CAS_64 implementation.
#include <stdlib.h>

int
main(void)
{
	exit(EXIT_FAILURE);
}
#endif