Mercurial > hg > Game > Cerium
diff TaskManager/kernel/ppe/QueueInfo.h @ 961:efee36d2f84c draft
fix QueueInfo
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 04 Aug 2010 23:05:59 +0900 |
parents | 338523ff6986 |
children | 8d6f7a42d134 |
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/QueueInfo.h Wed Aug 04 19:08:33 2010 +0900 +++ b/TaskManager/kernel/ppe/QueueInfo.h Wed Aug 04 23:05:59 2010 +0900 @@ -32,6 +32,7 @@ */ QueueInfo<T>(){ queueInfoInit(); + queuePool = this; } /** normal constructor requires @@ -39,7 +40,6 @@ QueueInfo<T>(QueueInfo<T> *p) { queueInfoInit(); queuePool = p; - queuePool->queuePool = queuePool; } BASE_NEW_DELETE(QueueInfo);