Changeset 151 in libcf for trunk/include/cf_mutex.h


Ignore:
Timestamp:
10/31/13 10:17:24 (11 years ago)
Author:
cheese
Message:

#1 fix interface and add util module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_mutex.h

    r128 r151  
    55 *
    66 * \brief 뮤텍스 지원
    7  *
    8  * \example thread.c
    97 */
    108#ifndef __CF_MUTEX_H__
     
    1311#include "cf_base.h"
    1412
    15 /** 뮤텍스 컨텍스트 */
    16 typedef void *  CF_Mutex_Ctx;
    17 
    1813#ifdef __cplusplus
    1914extern "C" {
     
    2116
    2217CF_EXPORT int
    23 CF_Mutex_CreateCtx      (CF_Mutex_Ctx * ctx);
     18CF_Mutex_Create         (cf_ctx * ctx);
    2419
    2520CF_EXPORT int
    26 CF_Mutex_DestoryCtx     (CF_Mutex_Ctx ctx);
     21CF_Mutex_Destory        (cf_ctx ctx);
    2722
    2823CF_EXPORT int
    29 CF_Mutex_Lock           (CF_Mutex_Ctx ctx);
     24CF_Mutex_Lock           (cf_ctx ctx);
    3025
    3126CF_EXPORT int
    32 CF_Mutex_Unlock         (CF_Mutex_Ctx ctx);
     27CF_Mutex_Unlock         (cf_ctx ctx);
    3328
    3429#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.