You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iec104/include/HTThread.h

45 lines
1.1 KiB
C

/****************************************************************************
** File name : HTThread.h
** Description : define service threads
** Create date : 2018.09.01
** Auther by : Liuyx
** Version info : V1.0.01
** Copyright (C) 2002-2018 xi'an huatek, Inc Co., Ltd
** Update record:
** DATE AUTHER DESC
** -------------------------------------------------------------------------
** 2018.09.01 Liuyx first build
****************************************************************************/
#ifndef __HT_THREAD_H
#define __HT_THREAD_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
// 线程接口定义
int HTInitThreadHandle(void);
void HTFreeThreadHandle(void);
void pthread_testcancels(void);
int ht_pthread_create_background(pthread_t *thread_handle, void *(*pfunc)(void *), void *data);
// void *thread_parser_proc(void * arg);
// void *thread_opration_proc(void *arg) ;
// void *thread_respone_proc(void *arg) ;
//
// void *thread_client_proc(void * arg);
// void *thread_active_proc(void *arg) ;
#ifdef __cplusplus
}
#endif
#endif // end __HT_THREAD_H