view src/parallel_execution/queue.h @ 223:8d2519c3a36e

Add input data gear example
author one
date Wed, 11 Jan 2017 17:19:53 +0900
parents 57a11c15ff4c
children
line wrap: on
line source

#include "context.h"
extern union Data* createSingleLinkedQueue(struct Context* context);

extern __code putSingleLinkedQueue_stub(struct Context* context);
extern __code takeSingleLinkedQueue_stub(struct Context* context);
extern __code isEmptySingleLinkedQueue_stub(struct Context* context);
extern __code clearSingleLinkedQueue_stub(struct Context* context);

extern union Data* createSynchronizedQueue(struct Context* context);

extern __code putSynchronizedQueue_stub(struct Context* context);
extern __code takeSynchronizedQueue_stub(struct Context* context);
extern __code isEmptySynchronizedQueue_stub(struct Context* context);
extern __code clearSynchronizedQueue_stub(struct Context* context);