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.
34 lines
921 B
C
34 lines
921 B
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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // end __HT_THREAD_H
|
|
|