Adding upstream version 0.6.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c49a9029dc
commit
7f70a05c55
465 changed files with 60158 additions and 0 deletions
16
regressions/ck_pr/benchmark/ck_pr_cas_64.c
Normal file
16
regressions/ck_pr/benchmark/ck_pr_cas_64.c
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue