mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-05 22:11:04 +08:00
feat(lwip): Add multi-thread support
This commit is contained in:
@ -55,6 +55,7 @@ typedef xTaskHandle sys_thread_t;
|
||||
sys_sem_t* sys_thread_sem_init(void);
|
||||
void sys_thread_sem_deinit(void);
|
||||
sys_sem_t* sys_thread_sem_get(void);
|
||||
err_t sys_mutex_trylock(sys_mutex_t *pxMutex);
|
||||
|
||||
#define LWIP_NETCONN_THREAD_SEM_ALLOC() sys_thread_sem_init()
|
||||
#define LWIP_NETCONN_THREAD_SEM_FREE() sys_thread_sem_deinit()
|
||||
|
Reference in New Issue
Block a user