[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: address@hidden
Subject: Re: [lwip-devel] tcpip_send_msg_wait_sem() declaration
Date: Thu, 16 May 2019 20:03:26 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Am 16.05.2019 um 19:57 schrieb Joan Lledó:
Ok, so I don't think there's a problem with making such a function part
of the "public" API, but the current name is not good enough for that.

Make it something like "tcpip_try_callback_sem" and I'll accept your
patch ;-)

I'm sorry but it's not clear to me. To clarify: do you mean renaming
tcpip_send_msg_wait_sem(), right?

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...


reply via email to

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