Wayne Uroda wrote:
> This got me to thinking, are the SNTP functions (such as sntp_init) meant to 
> be called only from a particular thread, namely the tcpip_thread?

Yes.
 
> Every other lwip function I've used has a wrapper which invokes functions on 
> the tcpip thread via the mailbox mechanism.

Well, things in src/api is meant to be called from other threads. All the rest 
is single-threaded only. Sadly, this might not be clearly visible from the 
include file structure...

Which functions are you talking about?


Simon

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to