[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration
From: |
Joan Lledó |
Subject: |
Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration |
Date: |
Fri, 17 May 2019 20:03:26 +0200 |
> I rather thought you'd need a new function with that name. Looking at
> what tcpip_send_msg_wait_sem() does, I don't think it's what you need?
> The 'sem' is not a semaphore that should be signaled when it's done, but
> a semaphore that tcpip_send_msg_wait_sem() uses to block before return...
Oh no, I only need to call a function inside the tcpip thread and wait
for it to return, tcpip_send_msg_wait_sem() does it so it's enough for
me. Moreover, when LWIP_TCPIP_CORE_LOCKING is enabled, you don't even
need a semaphore, so it's a lot easier to use.
- [lwip-devel] tcpip_send_msg_wait_sem() declaration, Joan Lledó, 2019/05/12
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration, Simon Goldschmidt, 2019/05/12
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration, Joan Lledó, 2019/05/13
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration, Dirk Ziegelmeier, 2019/05/14
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration, address@hidden, 2019/05/14
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration, Joan Lledó, 2019/05/16
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration, address@hidden, 2019/05/16
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration,
Joan Lledó <=
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration, Joan Lledó, 2019/05/17