[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:08:24 +0200 |
OK, now I understood what you mean. Yes, tcpip_send_msg_wait_sem() is
good for me because I use LWIP_TCPIP_CORE_LOCKING, otherwise I would
need another function... mmm I'm not sure I'm ready to write such a
function right now, maybe I'll try it and send a patch.
Missatge de Joan Lledó <address@hidden> del dia dv., 17 de
maig 2019 a les 20:03:
>
> > 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ó, 2019/05/17
- Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration,
Joan Lledó <=