the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 17 lines 361 B view raw
1#ifndef _MULTITHREADEDHOOKSAMPLE_ITHREAD_H_ 2#define _MULTITHREADEDHOOKSAMPLE_ITHREAD_H_ 3 4typedef void(*ThreadFunction)(); 5 6class IThread 7{ 8public: 9 virtual ~IThread() {} 10 virtual void Fork(ThreadFunction a_Function) = 0; 11 virtual void Join() = 0; 12}; 13 14IThread* CreateThread(); 15void DestroyThread(IThread* a_Thread); 16 17#endif // _MULTITHREADEDHOOKSAMPLE_ITHREAD_H_