Mercurial > hg > Papers > 2021 > anatofuz-master
view paper/src/ParGoto3.cbc @ 155:6f940582768f
...
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 16 Feb 2021 15:21:11 +0900 |
parents | 84359208ad70 |
children |
line wrap: on
line source
context->task->maxOdg = context->task->odg + 0; GET_META(phils0)->wait = createSynchronizedQueue(context); Gearef(context->task, Phils)->phils = (union Data*) phils0; Gearef(context->task, Phils)->next = C_exit_code; element = &ALLOCATE(context, Element)->Element; element->data = (union Data*)context->task; element->next = context->taskList; context->taskList = element; context->task = NEW(struct Context); initContext(context->task); context->task->next = phils1->thinking; ... context->task->maxOdg = context->task->odg + 0; GET_META(phils1)->wait = createSynchronizedQueue(context); Gearef(context->task, Phils)->phils = (union Data*) phils1; Gearef(context->task, Phils)->next = C_exit_code; element = &ALLOCATE(context, Element)->Element;