Mercurial > hg > Members > kono > Cerium
changeset 1008:b48fffbba5fc
add MailQueue.h file
author | yutaka@localhost.localdomain |
---|---|
date | Thu, 28 Oct 2010 08:43:38 +0900 |
parents | 18a548c337cb |
children | c67379f9d411 |
files | TaskManager/Cell/spe/MailQueue.h |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Cell/spe/MailQueue.h Thu Oct 28 08:43:38 2010 +0900 @@ -0,0 +1,19 @@ +#ifndef INCLUDED_MAILQUEUE +#define INCLUDED_MAILQUEUE + +class MailQueue { +public: + memaddr data; + MailQueue *next; // 4 byte + MailQueue *prev; // 4 byte + MailQueue *waiter; // 4 byte + + void init() { data = 0; waiter=this; } + void initOnce() {} + void freeOnce() {} + +} ; + +typedef MailQueue* MailQueuePtr; + +#endif