view Paper/src/StubProblem.cbc @ 23:9a6609a2f987

twaek
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Thu, 10 Feb 2022 01:08:27 +0900
parents 2c54886cebef
children
line wrap: on
line source

__code Task2(TQueue* localDGMQueue){
    goto localDGMQueue->take(Task3);
}

__code Task3(TQueue* localDGMQueue, FileString* string){
    printf("take[%s] [num:%d]\n", string->str, string->size);
    goto getData();
}

__code Task3_stub(struct Context* context){
    TQueue* localDGMQueue = (struct TQueue*)Gearef(context, TQueue)->tQueue;
    FileString* string = Gearef(context, TQueue)->data;
    goto Task3(context, localDGMQueue, string);
}