view src/parallel_execution/Atomic.cbc @ 442:481fce540daf

Fix goto implement method of generate_stub
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 21 Nov 2017 09:16:12 +0900
parents 5a737c3df91c
children 0c024ea61601
line wrap: on
line source

typedef struct Atomic<Type, Impl>{
    union Data* atomic;
    union Data* data;
    __code checkAndSet(Impl* atomic, Type* data, __code next(...));
    __code next(...);
} Atomic;