Files
MinecraftConsoles/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/MultiThreadedHook/IThread.h
2026-03-01 12:16:08 +08:00

17 lines
361 B
C++

#ifndef _MULTITHREADEDHOOKSAMPLE_ITHREAD_H_
#define _MULTITHREADEDHOOKSAMPLE_ITHREAD_H_
typedef void(*ThreadFunction)();
class IThread
{
public:
virtual ~IThread() {}
virtual void Fork(ThreadFunction a_Function) = 0;
virtual void Join() = 0;
};
IThread* CreateThread();
void DestroyThread(IThread* a_Thread);
#endif // _MULTITHREADEDHOOKSAMPLE_ITHREAD_H_