Mercurial > hg > Game > Cerium
view TaskManager/Cell/PpeScheduler.cc @ 143:9588726193e1 draft
add xml
author | gongo@charles.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 29 Nov 2008 03:36:11 +0900 |
parents | 028ffc9c0375 |
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; }