view src/synchronizedQueue/allocate.h @ 104:828ab677c8ef

Add dependency data to task DS
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Mon, 11 Apr 2016 01:44:23 +0900
parents a870c84acd0e
children
line wrap: on
line source

void allocator(struct Context* context) { 
    context->data[++context->dataNum] = context->heap; 
    context->heap += context->data[0]->allocate.size; 
    return;
}