mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-25 11:06:32 +08:00
feat(lwip): Add UDP sync process trigger
This commit is contained in:
@ -57,6 +57,10 @@ void sys_thread_sem_deinit(void);
|
||||
sys_sem_t* sys_thread_sem_get(void);
|
||||
err_t sys_mutex_trylock(sys_mutex_t *pxMutex);
|
||||
|
||||
int sys_current_task_is_tcpip(void);
|
||||
|
||||
char *sys_current_task_name(void);
|
||||
|
||||
#define LWIP_NETCONN_THREAD_SEM_ALLOC() sys_thread_sem_init()
|
||||
#define LWIP_NETCONN_THREAD_SEM_FREE() sys_thread_sem_deinit()
|
||||
#define LWIP_NETCONN_THREAD_SEM_GET() sys_thread_sem_get()
|
||||
|
@ -52,6 +52,11 @@ void udp_sync_set_ret(void *netif, int ret);
|
||||
*/
|
||||
void udp_sync_proc(void);
|
||||
|
||||
/*
|
||||
* @brief trigger a UDP sync process
|
||||
*/
|
||||
void udp_sync_trigger(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user