view src/parallel_execution/Atomic.h @ 461:6b71cf5b1c22

Change Interface files from cbc to header
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Wed, 20 Dec 2017 17:54:15 +0900
parents src/parallel_execution/Atomic.cbc@0c024ea61601
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;