[Top][All Lists]

[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: Mon, 13 May 2019 08:44:51 +0200

> Would you need to move this to tcpip.h?

Not necessarily, I was looking for a way to call a function inside the
tcpip thread and wait for it to finish. tcpip_send_msg_wait_sem()
seems to be what I need, but maybe there's another way. We could add
another tcpip_callbackmsg* function to wait for the sem in *msg. Why
is tcpip_callbackmsg_trycallback() calling sys_mbox_trypost() instead
of sys_mbox_post()?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]