Changeset 109 in libcf for trunk/include/cf_thread.h
- Timestamp:
- 06/04/13 14:25:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_thread.h
r66 r109 16 16 17 17 /** 스레드 아이디 */ 18 typedef void * CF_Thread ;18 typedef void * CF_Thread_Ctx; 19 19 20 20 /** 뮤텍스 아이디 */ 21 typedef void * CF_Mutex ;21 typedef void * CF_Mutex_Ctx; 22 22 23 23 #ifdef __cplusplus … … 26 26 27 27 CF_EXPORT int 28 CF_Thread_Create (CF_Thread* threadID,29 CF_Thread_Function callback,30 void * arg);28 CF_Thread_CreateCtx (CF_Thread_Ctx * threadID, 29 CF_Thread_Function callback, 30 void * arg); 31 31 32 32 CF_EXPORT int 33 CF_Thread_ Release (CF_Thread* threadID);33 CF_Thread_DestroyCtx (CF_Thread_Ctx * threadID); 34 34 35 35 CF_EXPORT int 36 CF_Thread_Join (CF_Thread* threadID);36 CF_Thread_Join (CF_Thread_Ctx * threadID); 37 37 38 38 CF_EXPORT int 39 CF_Mutex_Create (CF_Mutex * mutex);39 CF_Mutex_CreateCtx (CF_Mutex_Ctx * mutex); 40 40 41 41 CF_EXPORT int 42 CF_Mutex_Destory (CF_Mutex * mutex);42 CF_Mutex_DestoryCtx (CF_Mutex_Ctx * mutex); 43 43 44 44 CF_EXPORT int 45 CF_Mutex_Lock (CF_Mutex * mutex);45 CF_Mutex_Lock (CF_Mutex_Ctx * mutex); 46 46 47 47 CF_EXPORT int 48 CF_Mutex_Unlock (CF_Mutex * mutex);48 CF_Mutex_Unlock (CF_Mutex_Ctx * mutex); 49 49 50 50 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.