view src/parallel_execution/Worker.cbc @ 314:1839586f5b41

pthread CUDA test
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 15 Feb 2017 12:34:19 +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;