summaryrefslogtreecommitdiffstats
path: root/regressions/ck_pr/benchmark/ck_pr_add_64.c
blob: 9c4d51f40ea989b4aa637e66d4f861681ca7f1cf (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_ADD_64
#define ATOMIC ck_pr_add_64(object, 1)
#define ATOMIC_STRING "ck_pr_add_64"
#include "benchmark.h"
#else
#warning Did not find ADD_64 implementation.
#include <stdlib.h>

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