view Paper/src/synchronizedQueue.h @ 45:48561c7a2036

add src
author mir3636
date Fri, 13 Apr 2018 17:15:24 +0900
parents
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;
};