diff src/synchronizedQueue/synchronizedQueueContext.h @ 58:4283b87ddbf4

Add stub to synchronizedQueues
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 16 Jun 2015 15:59:48 +0900
parents 83ee9c75115a
children 2a40d697bf4e
line wrap: on
line diff
--- a/src/synchronizedQueue/synchronizedQueueContext.h	Tue Jun 16 01:18:39 2015 +0900
+++ b/src/synchronizedQueue/synchronizedQueueContext.h	Tue Jun 16 15:59:48 2015 +0900
@@ -40,15 +40,15 @@
 union Data {
     long count;
     struct Queue {
-        union Data* first;
-        union Data* last;
+        struct Element* first;
+        struct Element* last;
         int   count;
         pthread_mutex_t mutex;
         pthread_cond_t cond;
     } queue;
     struct Element {
         int value;
-        union Data* next;
+        struct Element* next;
     } element;
     struct Allocate {
         long size;