Mercurial > hg > Gears > GearsAgda
view src/synchronizedQueue/allocate.h @ 168:fa7419e2c67c
Add synchornizedQueue
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Nov 2016 04:21:11 +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; }