Mercurial > hg > GearsTemplate
view src/Worker.h @ 590:9146d6017f18 default tip
hg mv parallel_execution/* ..
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 16 Jan 2020 15:12:06 +0900 |
parents | src/parallel_execution/Worker.h@3e3158198cb5 |
children |
line wrap: on
line source
typedef struct Worker<Impl>{ union Data* worker; struct Queue* tasks; struct Context* task; pthread_t thread; struct TaskManager* taskManager; __code taskReceive(Impl* worker, struct Queue* tasks); __code shutdown(Impl* worker); __code next(...); } Worker;