Changeset 126 in libcf for trunk/include/cf_thread.h


Ignore:
Timestamp:
06/14/13 13:41:55 (11 years ago)
Author:
cheese
Message:

#1 separate header/source files for thread and mutex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_thread.h

    r122 r126  
    33 * \author  myusgun <myusgun@gmail.com>
    44 *
    5  * \brief 멀티스레드 및 뮤텍스 지원
     5 * \brief 멀티스레드 지원
    66 *
    77 * \example thread.c
     
    1212#include "cf_base.h"
    1313
     14#include "cf_mutex.h"
     15
    1416/** 스레드 워커 함수 프로토타입 */
    1517typedef int (* CF_Thread_Function) (void *);
     
    1719/** 스레드 컨텍스트 */
    1820typedef void *  CF_Thread_Ctx;
    19 
    20 /** 뮤텍스 컨텍스트 */
    21 typedef void *  CF_Mutex_Ctx;
    2221
    2322#ifdef __cplusplus
     
    3938CF_Thread_Join          (CF_Thread_Ctx ctx);
    4039
    41 CF_EXPORT int
    42 CF_Mutex_CreateCtx      (CF_Mutex_Ctx * ctx);
    43 
    44 CF_EXPORT int
    45 CF_Mutex_DestoryCtx     (CF_Mutex_Ctx ctx);
    46 
    47 CF_EXPORT int
    48 CF_Mutex_Lock           (CF_Mutex_Ctx ctx);
    49 
    50 CF_EXPORT int
    51 CF_Mutex_Unlock         (CF_Mutex_Ctx ctx);
    52 
    5340#ifdef __cplusplus
    5441}
Note: See TracChangeset for help on using the changeset viewer.