10 #ifndef CMNCLIB_CMN_THREAD_H_
11 #define CMNCLIB_CMN_THREAD_H_
15 #if IS_PRATFORM_WINDOWS()
24 #if IS_PRATFORM_WINDOWS()
34 #if IS_PRATFORM_WINDOWS()
D_EXTERN void CmnThread_Kill(CmnThread *thread)
スレッド強制終了
Definition: CmnThread.c:138
struct tag_CmnThreadMutex CmnThreadMutex
D_EXTERN void CmnThreadMutex_UnLock(CmnThreadMutex *mutex)
Mutexロック解除
Definition: CmnThread.c:215
D_EXTERN void CmnThread_Join(CmnThread *thread)
スレッド処理待ち合わせ
Definition: CmnThread.c:118
D_EXTERN int CmnThread_Start(CmnThread *thread)
スレッド処理開始
Definition: CmnThread.c:58
struct tag_CmnThread CmnThread
void(* method)(struct tag_CmnThread *)
Definition: CmnThread.h:39
D_EXTERN void CmnThreadMutex_Lock(CmnThreadMutex *mutex)
Mutexロック取得
Definition: CmnThread.c:195
Definition: CmnThread.h:33
void * data
Definition: CmnThread.h:40
CmnThreadMutex * mutex
Definition: CmnThread.h:41
D_EXTERN void CmnThread_Init(CmnThread *thread, void(*method)(CmnThread *), void *data, CmnThreadMutex *mutex)
スレッドオブジェクト初期化
Definition: CmnThread.c:41
D_EXTERN CmnThreadMutex * CmnThreadMutex_Create()
Mutex作成
Definition: CmnThread.c:158
pthread_mutex_t mutexId
Definition: CmnThread.h:27
pthread_t threadId
Definition: CmnThread.h:37
Definition: CmnThread.h:23
D_EXTERN void CmnThreadMutex_Free(CmnThreadMutex *mutex)
Mutex破棄
Definition: CmnThread.c:235