Mercurial > hg > Members > kono > Cerium
view TaskManager/Cell/PpeScheduler.cc @ 540:c5a411c19e7e
merge
author | tkaito@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Wed, 21 Oct 2009 20:02:23 +0900 |
parents | 5c194c71eca8 |
children |
line wrap: on
line source
#include <stdlib.h> #include <string.h> #include "PpeScheduler.h" void* PpeScheduler::allocate(int size) { void *buff; posix_memalign(&buff, DEFAULT_ALIGNMENT, size); bzero(buff, size); return buff; }