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
|
---|
14 | extern "C" {
|
---|
15 | #endif
|
---|
16 |
|
---|
17 | CF_EXPORT int
|
---|
18 | CF_Mutex_Create (cf_ctx * ctx);
|
---|
19 |
|
---|
20 | CF_EXPORT int
|
---|
21 | CF_Mutex_Destory (cf_ctx ctx);
|
---|
22 |
|
---|
23 | CF_EXPORT int
|
---|
24 | CF_Mutex_Lock (cf_ctx ctx);
|
---|
25 |
|
---|
26 | CF_EXPORT int
|
---|
27 | CF_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.