comparison src/tmp/allocate.c @ 86:e06e1a9e569e parallel_execution

create worker
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Mon, 18 Jan 2016 17:50:52 +0900
parents
children
comparison
equal deleted inserted replaced
83:c13575c3dbe9 86:e06e1a9e569e
1 #include "context.h"
2
3 void allocator(struct Context* context) {
4 context->data[++context->dataNum] = context->heap;
5 context->heap += context->data[Allocate]->allocate.size;
6 }