arsa
2.7
|
Go to the source code of this file.
Macros | |
#define | THREAD_STATE_SPAWN 0 |
#define | THREAD_STATE_STARTED 1 |
#define | THREAD_STATE_END 2 |
Typedefs | |
typedef int(* | ThreadFunction) (void *data) |
#define THREAD_STATE_END 2 |
Definition at line 11 of file arsa_thread.h.
#define THREAD_STATE_SPAWN 0 |
Definition at line 9 of file arsa_thread.h.
#define THREAD_STATE_STARTED 1 |
Definition at line 10 of file arsa_thread.h.
Definition at line 7 of file arsa_thread.h.
ARSA_API irr::core::stringc ARSACALLCONV thread_Add | ( | ThreadFunction | func, |
void * | userdata | ||
) |
return guid, empty is false
ARSA_API void ARSACALLCONV thread_Clear | ( | ) |
ARSA_API bool ARSACALLCONV thread_Exe | ( | const irr::core::stringc & | guid | ) |
ARSA_API bool ARSACALLCONV thread_ExeThread | ( | const irr::core::stringc & | guid | ) |
ARSA_API void ARSACALLCONV thread_Free | ( | ) |
ARSA_API irr::u32 ARSACALLCONV thread_GetCount | ( | ) |
0 is empty
ARSA_API irr::core::stringc ARSACALLCONV thread_GetGUID | ( | void * | data | ) |
data come from parameter of pointer function thread
ARSA_API int ARSACALLCONV thread_GetReturn | ( | const irr::core::stringc & | guid | ) |
ARSA_API int ARSACALLCONV thread_GetState | ( | const irr::core::stringc & | guid | ) |
ARSA_API void* ARSACALLCONV thread_GetUserData | ( | const irr::core::stringc & | guid | ) |
ARSA_API void ARSACALLCONV thread_Init | ( | ) |
ARSA_API bool ARSACALLCONV thread_IsEmpty | ( | ) |
ARSA_API bool ARSACALLCONV thread_IsEnd | ( | const irr::core::stringc & | guid | ) |
equal if( thread_GetState() == THREAD_STATE_END )
ARSA_API bool ARSACALLCONV thread_IsIdOk | ( | const irr::core::stringc & | guid | ) |
ARSA_API void ARSACALLCONV thread_LockMuTex | ( | const irr::core::stringc & | guid | ) |
ARSA_API bool ARSACALLCONV thread_Remove | ( | const irr::core::stringc & | guid | ) |
ARSA_API void ARSACALLCONV thread_SetState | ( | const irr::core::stringc & | guid, |
int | state | ||
) |
ARSA_API void ARSACALLCONV thread_UnlockMuTex | ( | const irr::core::stringc & | guid | ) |