view src/synchronizedQueue/allocate.h @ 233:06133afb3b5b

create worker start_code
author mir3636
date Sun, 22 Jan 2017 20:02:21 +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;
}