view src/parallel_execution/allocate.c @ 116:f57e9ffa7960

add comment rb_tree
author ikkun
date Wed, 14 Sep 2016 20:35:21 +0900
parents 9e139a340bd1
children 2bb5e4f0fd35
line wrap: on
line source

#include "context.h"

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