view src/TaskManager.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/TaskManager.h@5859bed4edff
children
line wrap: on
line source

typedef struct TaskManager<Impl>{
    union Data* taskManager;
    struct Context* task;
    struct Element* taskList;
    __code spawn(Impl* taskManager, struct Context* task, __code next(...));
    __code spawnTasks(Impl* taskManagerImpl, struct Element* taskList, __code next1(...));
    __code setWaitTask(Impl* taskManagerImpl, struct Context* task, __code next(...));
    __code shutdown(Impl* taskManagerImpl, __code next(...));
    __code incrementTaskCount(Impl* taskManagerImpl, __code next(...));
    __code decrementTaskCount(Impl* taskManagerImpl, __code next(...));
    __code next(...);
    __code next1(...);
} TaskManager;