lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #10086] mqtt.c : Remove useless LWIP_ASSERT_CORE_LOC


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #10086] mqtt.c : Remove useless LWIP_ASSERT_CORE_LOCKED()
Date: Thu, 12 Oct 2023 14:37:17 -0400 (EDT)

Update of patch #10086 (project lwip):

                  Status:                    None => Wont Do                
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

The assert might be invalid in the current code, but the asserts define a
"contract" to the application. And since we could, in the future, change
'mqtt_client_new()' to call into the core stack, the assertion is valid here
(even if not required right now).

That prevents the need to change applications in the future: every "public"
(exported) function of the mqtt client asserts that it is called correctly.

And yes, you need to use (UN)LOCK_TCPIP_CORE appropriately.


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?10086>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/




reply via email to

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