Changeset 151 in libcf for trunk/include/cf_thread.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_thread.h

    r147 r151  
    1616typedef int (* CF_Thread_Function) (void *);
    1717
    18 /** 스레드 컨텍스트 */
    19 typedef void *  CF_Thread_Ctx;
    20 
    2118#ifdef __cplusplus
    2219extern "C" {
     
    2421
    2522CF_EXPORT int
    26 CF_Thread_CreateCtx     (CF_Thread_Ctx      * ctx,
     23CF_Thread_Create        (cf_ctx             * ctx,
    2724                         CF_Thread_Function callback,
    2825                         void               * arg);
    2926
    3027CF_EXPORT int
    31 CF_Thread_Start         (CF_Thread_Ctx ctx);
     28CF_Thread_Start         (cf_ctx ctx);
    3229
    3330CF_EXPORT int
    34 CF_Thread_DestroyCtx    (CF_Thread_Ctx ctx);
     31CF_Thread_Destroy       (cf_ctx ctx);
    3532
    3633CF_EXPORT int
    37 CF_Thread_Join          (CF_Thread_Ctx ctx);
     34CF_Thread_Join          (cf_ctx ctx);
    3835
    3936#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.