ck/regressions/ck_pr/benchmark/ck_pr_cas_64_2.c
Daniel Baumann 7f70a05c55
Adding upstream version 0.6.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 07:35:45 +01:00

17 lines
298 B
C

#include <ck_pr.h>
#ifdef CK_F_PR_CAS_64_2
#define ATOMIC { uint64_t z[2] = {1, 2}; ck_pr_cas_64_2(object, z, z); }
#define ATOMIC_STRING "ck_pr_cas_64_2"
#include "benchmark.h"
#else
#include <stdio.h>
#include <stdlib.h>
int
main(void)
{
fprintf(stderr, "Unsupported.\n");
return 0;
}
#endif