view Paper/src/synchronizedQueue.h @ 14:ba98083f9853 default tip

FIX
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Fri, 27 May 2022 12:31:39 +0900
parents 14a0e409d574
children
line wrap: on
line source

struct SynchronizedQueue {
    struct Element* top;
    struct Element* last;
    struct Atomic* atomic;
};

// Singly Linked List element
struct Element {
    union Data* top;
    struct Element* next;
};