view src/parallel_execution/Worker.h @ 557:1eb2a22ec1e3

tweak
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Mon, 18 Nov 2019 21:22:34 +0900
parents b92898d3a630
children 3e3158198cb5
line wrap: on
line source

typedef struct Worker<Impl>{
    union Data* worker;
    struct Queue* tasks;
    struct Context* task;
    __code taskReceive(Impl* worker, struct Queue* tasks);
    __code shutdown(Impl* worker);
    __code next(...);
} Worker;