|
From: | Wayne Uroda |
Subject: | Re: [lwip-users] Correct way to use SNTP safely |
Date: | Fri, 22 Sep 2017 15:11:02 +1000 |
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |