view src/parallel_execution/queue.h @ 233:06133afb3b5b

create worker start_code
author mir3636
date Sun, 22 Jan 2017 20:02:21 +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);