view src/parallel_execution/Atomic.h @ 471:e5f0cced7d43

remove error ' rbtree'.
author ryokka
date Wed, 27 Dec 2017 21:17:02 +0900
parents 6b71cf5b1c22
children
line wrap: on
line source

typedef struct Atomic<Impl>{
    union Data* atomic;
    union Data** ptr;
    union Data* oldData;
    union Data* newData;
    __code checkAndSet(Impl* atomic, union Data** ptr, union Data* oldData, union Data* newData, __code next(...), __code fail(...));
    __code next(...);
    __code fail(...);
} Atomic;