You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ck/regressions/ck_pr/benchmark/ck_pr_cas_64.c

17 lines
263 B

#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