Files
刘可亮 8bca5e8332 v1.0.4
2024-04-03 16:40:57 +08:00

27 lines
1021 B
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