Changeset 151 in libcf for trunk/include/cf_mutex.h
- Timestamp:
- 10/31/13 10:17:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_mutex.h
r128 r151 5 5 * 6 6 * \brief 뮤텍스 지원 7 *8 * \example thread.c9 7 */ 10 8 #ifndef __CF_MUTEX_H__ … … 13 11 #include "cf_base.h" 14 12 15 /** 뮤텍스 컨텍스트 */16 typedef void * CF_Mutex_Ctx;17 18 13 #ifdef __cplusplus 19 14 extern "C" { … … 21 16 22 17 CF_EXPORT int 23 CF_Mutex_Create Ctx (CF_Mutex_Ctx * ctx);18 CF_Mutex_Create (cf_ctx * ctx); 24 19 25 20 CF_EXPORT int 26 CF_Mutex_Destory Ctx (CF_Mutex_Ctx ctx);21 CF_Mutex_Destory (cf_ctx ctx); 27 22 28 23 CF_EXPORT int 29 CF_Mutex_Lock ( CF_Mutex_Ctx ctx);24 CF_Mutex_Lock (cf_ctx ctx); 30 25 31 26 CF_EXPORT int 32 CF_Mutex_Unlock ( CF_Mutex_Ctx ctx);27 CF_Mutex_Unlock (cf_ctx ctx); 33 28 34 29 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.