comparison src/parallel_execution/AtomicReference.cbc @ 462:8d7e5d48cad3

Running CPU examples
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Wed, 20 Dec 2017 22:05:08 +0900
parents 0c024ea61601
children ac244346c85d
comparison
equal deleted inserted replaced
461:6b71cf5b1c22 462:8d7e5d48cad3
1 #include "../context.h" 1 #include "../context.h"
2 2 #include "Atomic.h"
3 #include <stdio.h> 3 #include <stdio.h>
4 4
5 Atomic* createAtomicReference(struct Context* context) { 5 Atomic* createAtomicReference(struct Context* context) {
6 struct Atomic* atomic = new Atomic(); 6 struct Atomic* atomic = new Atomic();
7 struct AtomicReference* atomicReference = new AtomicReference(); 7 struct AtomicReference* atomicReference = new AtomicReference();