view include/TaskManager/CellTaskManagerImpl.h @ 84:c2e178b3415f

create SPUSPANLIST no use task/spu_span.cpp
author chiaki
date Tue, 26 Feb 2008 21:49:50 +0900
parents 178459e03f5c
children 028ffc9c0375
line wrap: on
line source

#ifndef INCLUDED_CELL_TASK_MANAGER_IMPL
#define INCLUDED_CELL_TASK_MANAGER_IMPL

#ifndef INCLUDED_TASK_MANAGER_IMPL
#  include "TaskManagerImpl.h"
#endif

#ifndef INCLUDED_SPE_THREADS
#  include "SpeThreads.h"
#endif

class CellTaskManagerImpl : public TaskManagerImpl {
public:
    /* constructor */
    CellTaskManagerImpl(int num = 1);

    /* variables */
    SpeThreads *speThreads;

    /* functions */
    void init(void);
    void run(void);
    MailQueuePtr mail_check(MailQueuePtr mail_list);
    TaskListPtr set_task(void);
};

#endif