tcpip API calls: Implement LWIP_NETCONN_SEM_PER_THREAD support for ALL API calls

This commit is contained in:
Dirk Ziegelmeier
2016-03-13 19:43:49 +01:00
parent 2b3db52c70
commit 1d7996dc47
2 changed files with 18 additions and 0 deletions

View File

@@ -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 */
};