|
From: | Ajay Bhargav |
Subject: | Re: [lwip-users] DNS thread-safe functions |
Date: | Tue, 4 Feb 2020 17:12:37 +0530 |
Simon, Noted! :) That’s why I said “I am not sure” ;) Regards, Ajay Bhargav From: Simon Goldschmidt Ajay Bhargav wrote: > [..] > However, I am not sure if dns_setserver really needs to be protected so much > as there is nothing much going on except copying of server in an array. Please *don't* suggest things like this. You *need* protection: a) there is no guarantee the code will stay like it is now b) when switching to IPv6, the write is *not* atomic any more Don't try to be smarter than the authors of the code or it might eat you in the future ;-) Regards, Simon _______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users |
[Prev in Thread] | Current Thread | [Next in Thread] |