diff src/parallel_execution/allocate.c @ 87:9e139a340bd1 parallel_execution

rename directory
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 19 Jan 2016 16:16:26 +0900
parents src/tmp/allocate.c@e06e1a9e569e
children 135472238fb7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/parallel_execution/allocate.c	Tue Jan 19 16:16:26 2016 +0900
@@ -0,0 +1,6 @@
+#include "context.h"
+
+void allocator(struct Context* context) {
+    context->data[++context->dataNum] = context->heap;
+    context->heap += context->data[Allocate]->allocate.size;
+}