Mercurial > hg > Members > kono > Cerium
view TaskManager/Cell/PpeScheduler.cc @ 217:897aeb144569
fix
author | gongo@localhost.localdomain |
---|---|
date | Wed, 04 Feb 2009 22:50:42 +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; }