mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-24 15:28:53 +00:00
27 lines
1.0 KiB
C
27 lines
1.0 KiB
C
/**************************************************************************************************************
|
|
* altobeam RTOS wifi hmac source code
|
|
*
|
|
* Copyright (c) 2018, altobeam.inc All rights reserved.
|
|
*
|
|
* The source code contains proprietary information of AltoBeam, and shall not be distributed,
|
|
* copied, reproduced, or disclosed in whole or in part without prior written permission of AltoBeam.
|
|
*****************************************************************************************************************/
|
|
|
|
|
|
#ifndef ATBMWIFI_THREAD_H
|
|
#define ATBMWIFI_THREAD_H
|
|
|
|
typedef void (*thread_callback)(struct atbm_sdio_func *func);
|
|
|
|
typedef struct{
|
|
thread_callback cb;
|
|
atbm_void *p_arg;
|
|
pAtbm_thread_t thread;
|
|
ATBM_BOOL stop;
|
|
atbm_os_wait_queue_head_t stopEv;
|
|
}atbm_thread_internal_t;
|
|
|
|
atbm_thread_internal_t *atbm_createThreadInternal(char *name, atbm_void(*task)(atbm_void *p_arg),atbm_void *p_arg,int prio);
|
|
int atbm_stopThreadInternal(atbm_thread_internal_t *thread);
|
|
#endif //ATBMWIFI_THREAD_H
|