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
RevLine 
[126]1/**
[128]2 * \file cf_mutex.h
[126]3 *
[128]4 * \author myusgun <myusgun@gmail.com>
5 *
[126]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
[151]18CF_Mutex_Create (cf_ctx * ctx);
[126]19
20CF_EXPORT int
[151]21CF_Mutex_Destory (cf_ctx ctx);
[126]22
23CF_EXPORT int
[151]24CF_Mutex_Lock (cf_ctx ctx);
[126]25
26CF_EXPORT int
[151]27CF_Mutex_Unlock (cf_ctx ctx);
[126]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.