diff options
author | Damien George <damien.p.george@gmail.com> | 2019-02-22 21:54:58 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-26 23:32:19 +1100 |
commit | 39ea132e1daf851b962780cf122f41800b9e9a33 (patch) | |
tree | 2ff1a782d9365e082988769b6299c14dfc2ec11a /lib/netutils/netutils.c | |
parent | cc63e19332bb8bf4134ef27116deeb1935ddf365 (diff) | |
download | micropython-39ea132e1daf851b962780cf122f41800b9e9a33.tar.gz micropython-39ea132e1daf851b962780cf122f41800b9e9a33.zip |
extmod/modlwip: Add concurrency protection macros.
Some users of this module may require the LwIP stack to run at an elevated
priority, to protect against concurrency issues with processing done by the
underlying network interface. Since LwIP doesn't provide such protection
it must be done here (the other option is to run LwIP in a separate thread,
and use thread protection mechanisms, but that is a more heavyweight
solution).
Diffstat (limited to 'lib/netutils/netutils.c')
0 files changed, 0 insertions, 0 deletions