view paper/src/twiceNormal.cbc @ 99:7b4d7d2446e6

update
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sat, 06 Feb 2021 07:11:56 +0900
parents
children
line wrap: on
line source

__code createTask1(struct LoopCounter* loopCounter, struct TaskManager* taskManager) {
    Array* array1 = new Array();
    Array* array2 = new Array();
    Timer* timer = createTimerImpl(context);

    par goto createArray(array1, timer, __exit);
    par goto twice(array1, array2, iterate(split), __exit);
    par goto printArray(array2, timer, __exit);
    goto code2();
}