Danbias/Code/Misc/Thread/IThreadObject.h

42 lines
939 B
C
Raw Normal View History

2013-11-26 21:51:40 +01:00
/////////////////////////////////////////////////////////////////////
// Created by [Dennis Andersen] [2013]
/////////////////////////////////////////////////////////////////////
#ifndef MISC_I_THREAD_OBJECT_H
#define MISC_I_THREAD_OBJECT_H
namespace Oyster
{
namespace Thread
{
2014-01-07 10:26:09 +01:00
//This class was moved to OysterThread.h
///**
//* Inherit this class to get threading compatibility.
//*/
//class IThreadObject
//{
//public:
// /**
// * Override this to get notified when the thread is started.
// */
// virtual void ThreadEntry() { }
// /**
// * Override this to get notified when the thread is about to exit.
// */
// virtual void ThreadExit() { }
// /**
// * This function is required to get threading working.
// * Note that this function is NOT thread safe.
// * OBS! Do not highjack the looping.
// */
// virtual bool DoWork ( ) = 0;
//};
}
}
2013-11-26 21:51:40 +01:00
#endif // !MISC_I_THREAD_OBJECT_H