#ifndef DEQUE_H
#define DEQUE_H
+#include <spec_lib.h>
+#include <stdlib.h>
+#include <cdsannotate.h>
+#include <specannotation.h>
+#include <model_memory.h>
+#include "common.h"
+
typedef struct {
atomic_size_t size;
atomic_int buffer[];
/**
@Begin
@Interface: Take
- @Commit_point_set: Take_Point1 | Take_Point2 | Take_Point3 | Take_Point4
+ @Commit_point_set: Take_Point1 | Take_Point2 | Take_Point3
@ID: size(__deque) == 0 ? DEFAULT_CALL_ID : get_id(back(__deque))
@Action:
int _Old_Val = EMPTY;
/**
@Begin
@Interface: Steal
- @Commit_point_set: Steal_Point1 | Steal_Point2 | Steal_Point3
+ @Commit_point_set: Steal_Point1 | Steal_Point2
@ID: size(__deque) == 0 ? DEFAULT_CALL_ID : get_id(front(__deque))
@Action:
int _Old_Val = EMPTY;