view src/parallel_execution/Worker.cbc @ 388:8940d1451a0d

handle local continuation
author masataka
date Sat, 29 Jul 2017 19:08:25 +0900
parents 9f8a87389b68
children
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;