1 #ifndef __ARSA_THREAD_H__ 2 #define __ARSA_THREAD_H__ 9 #define THREAD_STATE_SPAWN 0 10 #define THREAD_STATE_STARTED 1 11 #define THREAD_STATE_END 2 42 #endif // !__ARSA_THREAD_H__ int(* ThreadFunction)(void *data)
ARSA_API bool ARSACALLCONV thread_Remove(const irr::core::stringc &guid)
ARSA_API bool ARSACALLCONV thread_IsEmpty()
ARSA_API void ARSACALLCONV thread_Free()
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
ARSA_API irr::core::stringc ARSACALLCONV thread_GetGUID(void *data)
data come from parameter of pointer function thread
ARSA_API bool ARSACALLCONV thread_IsEnd(const irr::core::stringc &guid)
equal if( thread_GetState() == THREAD_STATE_END )
Main header file of the irrlicht, the only file needed to include.
ARSA_API bool ARSACALLCONV thread_Exe(const irr::core::stringc &guid)
Very simple string class with some useful features.
ARSA_API void ARSACALLCONV thread_Init()
ARSA_API int ARSACALLCONV thread_GetReturn(const irr::core::stringc &guid)
ARSA_API bool ARSACALLCONV thread_ExeThread(const irr::core::stringc &guid)
ARSA_API void ARSACALLCONV thread_SetState(const irr::core::stringc &guid, int state)
unsigned int u32
32 bit unsigned variable.
ARSA_API irr::u32 ARSACALLCONV thread_GetCount()
0 is empty
ARSA_API void ARSACALLCONV thread_UnlockMuTex(const irr::core::stringc &guid)
ARSA_API void ARSACALLCONV thread_Clear()
ARSA_API irr::core::stringc ARSACALLCONV thread_Add(ThreadFunction func, void *userdata)
return guid, empty is false
ARSA_API int ARSACALLCONV thread_GetState(const irr::core::stringc &guid)
ARSA_API bool ARSACALLCONV thread_IsIdOk(const irr::core::stringc &guid)
ARSA_API void ARSACALLCONV thread_LockMuTex(const irr::core::stringc &guid)
ARSA_API void *ARSACALLCONV thread_GetUserData(const irr::core::stringc &guid)