view src/parallel_execution/Worker.h @ 468:ac244346c85d

Change used interface syntax from #include to #interface
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Mon, 25 Dec 2017 18:10:56 +0900
parents 6b71cf5b1c22
children 71b634a5ed65
line wrap: on
line source

typedef struct Worker<Impl>{
    union Data* worker;
    __code taskReseive(struct Worker* worker,struct Queue* queue);
    __code shutdown(Impl* worker);
    __code next(...);
    struct Queue* queue;
} Worker;