comparison src/parallel_execution/SingleLinkedQueue.cbc @ 473:71b634a5ed65

Merge
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Thu, 28 Dec 2017 11:55:59 +0900
parents ac244346c85d
children
comparison
equal deleted inserted replaced
472:a4d94c591246 473:71b634a5ed65
1 #include "../context.h" 1 #include "../context.h"
2 #include <stdio.h>
2 #interface "Queue.h" 3 #interface "Queue.h"
3 #include <stdio.h>
4 4
5 Queue* createSingleLinkedQueue(struct Context* context) { 5 Queue* createSingleLinkedQueue(struct Context* context) {
6 struct Queue* queue = new Queue(); 6 struct Queue* queue = new Queue();
7 struct SingleLinkedQueue* singleLinkedQueue = new SingleLinkedQueue(); 7 struct SingleLinkedQueue* singleLinkedQueue = new SingleLinkedQueue();
8 queue->queue = (union Data*)singleLinkedQueue; 8 queue->queue = (union Data*)singleLinkedQueue;