view include/TaskManager/HTaskInfo.h @ 314:2ddf79a7c5fb

debugging
author root@localhost.localdomain
date Tue, 09 Jun 2009 01:22:11 +0900
parents 7075842aa155
children
line wrap: on
line source

#ifndef INCLUDED_HTASK_INFO
#define INCLUDED_HTASK_INFO

#include "HTask.h"

class HTaskInfo {
public:
    /* constructor */
    HTaskInfo(void);
    virtual ~HTaskInfo(void);

    /* functions */
    int init(int num);
    HTaskPtr create(int cmd);
    void free(HTaskPtr q);
    virtual int extend_pool(int num);

protected:
    /* variables */
    HTaskPtr htaskPool;
    HTaskPtr freeHTask;

    /* functions */
    void destroy(void);
    
private:
};

#endif