feat(lwip): Add UDP sync process trigger

This commit is contained in:
Dong Heng
2018-08-29 11:53:18 +08:00
parent 3a33beb28d
commit 1ca16e5a13
5 changed files with 48 additions and 9 deletions

View File

@ -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()