barrier/base/CFunctionJob.h

19 lines
274 B
C
Raw Normal View History

2001-10-06 18:13:28 +04:00
#ifndef CFUNCTIONJOB_H
#define CFUNCTIONJOB_H
#include "IJob.h"
class CFunctionJob : public IJob {
public:
CFunctionJob(void (*func)(void*), void* arg = NULL);
// IJob overrides
virtual void run();
private:
void (*m_func)(void*);
void* m_arg;
};
#endif