view src/parallel_execution/Worker.cbc @ 281:ceb8735aefb0

fix queue_test
author mir3636
date Fri, 03 Feb 2017 18:19:24 +0900
parents f2dd6356eff2
children 9f8a87389b68
line wrap: on
line source

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