Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Cell/spe/MailQueue.h @ 1008:b48fffbba5fc
add MailQueue.h file
author | yutaka@localhost.localdomain |
---|---|
date | Thu, 28 Oct 2010 08:43:38 +0900 |
parents | |
children | c67379f9d411 |
comparison
equal
deleted
inserted
replaced
1007:18a548c337cb | 1008:b48fffbba5fc |
---|---|
1 #ifndef INCLUDED_MAILQUEUE | |
2 #define INCLUDED_MAILQUEUE | |
3 | |
4 class MailQueue { | |
5 public: | |
6 memaddr data; | |
7 MailQueue *next; // 4 byte | |
8 MailQueue *prev; // 4 byte | |
9 MailQueue *waiter; // 4 byte | |
10 | |
11 void init() { data = 0; waiter=this; } | |
12 void initOnce() {} | |
13 void freeOnce() {} | |
14 | |
15 } ; | |
16 | |
17 typedef MailQueue* MailQueuePtr; | |
18 | |
19 #endif |