view src/taskManagerInterface.cbc @ 11:a8bc8c6b48bd default tip

fix
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 15 Sep 2020 07:06:29 +0900
parents 73127e0ab57c
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;