Mercurial > hg > Game > Cerium
view TaskManager/Cell/PpeScheduler.cc @ 596:f1c2e11a2ef4 draft
add xdr_getpos
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 04 Nov 2009 22:52:06 +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; }