view 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
line wrap: on
line source

#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