source: libcf/trunk/include/cf_mutex.h@ 151

Last change on this file since 151 was 151, checked in by cheese, 11 years ago

#1 fix interface and add util module

File size: 460 bytes
Line 
1/**
2 * \file cf_mutex.h
3 *
4 * \author myusgun <myusgun@gmail.com>
5 *
6 * \brief 뮤텍스 지원
7 */
8#ifndef __CF_MUTEX_H__
9#define __CF_MUTEX_H__
10
11#include "cf_base.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17CF_EXPORT int
18CF_Mutex_Create (cf_ctx * ctx);
19
20CF_EXPORT int
21CF_Mutex_Destory (cf_ctx ctx);
22
23CF_EXPORT int
24CF_Mutex_Lock (cf_ctx ctx);
25
26CF_EXPORT int
27CF_Mutex_Unlock (cf_ctx ctx);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif // #ifndef __CF_MUTEX_H__
34
Note: See TracBrowser for help on using the repository browser.