view src/interface/TaskManager.h @ 280:21a5761e3e7a

mv_extraction_dg_compile_sources Context2Util
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 28 Jan 2020 15:20:34 +0900
parents f3ebb813d0bf
children 63a65e3a5340
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;