mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 01:23:48 +08:00
tcpip API calls: Implement LWIP_NETCONN_SEM_PER_THREAD support for ALL API calls
This commit is contained in:
@@ -105,7 +105,11 @@ struct tcpip_api_call
|
||||
{
|
||||
tcpip_api_call_fn function;
|
||||
#if !LWIP_TCPIP_CORE_LOCKING
|
||||
#if LWIP_NETCONN_SEM_PER_THREAD
|
||||
sys_sem_t *sem;
|
||||
#else /* LWIP_NETCONN_SEM_PER_THREAD */
|
||||
sys_sem_t sem;
|
||||
#endif /* LWIP_NETCONN_SEM_PER_THREAD */
|
||||
err_t err;
|
||||
#endif /* !LWIP_TCPIP_CORE_LOCKING */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user