view Paper/src/missingParGoto.cbc @ 43:9067e6c32410 default tip

add backCover
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Mon, 28 Feb 2022 22:32:44 +0900
parents 55a0fd236f78
children
line wrap: on
line source

__code createTask1(struct Context *context,struct TaskManager* taskManager) {
    struct CountUp* countUp = createCountUpImpl(context);
    struct CountUp* countUp2 = createCountUpImpl(context);

    struct Element* element;
                    context->task = NEW(struct Context);
                    initContext(context->task);
                    context->task->next = countUp->eNum;
                    context->task->idgCount = 1;
                    context->task->idg = context->task->dataNum;
                    context->task->maxIdg = context->task->idg + 1;
                    context->task->odg = context->task->maxIdg;
                    context->task->maxOdg = context->task->odg + 0;
##  GET_META(0)->wait = createSynchronizedQueue(context);
    //GET_META(countUp)->wait = createSynchronizedQueue(context);
    Gearef(context->task, CountUp)->countUp = (union Data*) countUp;
    Gearef(context->task, CountUp)->num = (union Data*) 0;
    Gearef(context->task, CountUp)->next = C_test;
                    element = &ALLOCATE(context, Element)->Element;
                    element->data = (union Data*)context->task;
                    element->next = context->taskList;
                    context->taskList = element;


    Gearef(context, TaskManager)->taskList = context->taskList;
    Gearef(context, TaskManager)->next1 = C_code2;
    goto parGotoMeta(context, C_code2);
}