diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-10-31 19:48:54 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-10-31 19:51:23 +0300 |
commit | 4deb4936d52da88752da93f9cdc49541c10ef413 (patch) | |
tree | 670df262c5cddfbbd425f2a4ae761cebf85b7972 /extmod/re1.5/dumpcode.c | |
parent | 0ec51441de4db3fc776b1f2013005391caa910d3 (diff) | |
download | micropython-4deb4936d52da88752da93f9cdc49541c10ef413.tar.gz micropython-4deb4936d52da88752da93f9cdc49541c10ef413.zip |
extmod/modlwip: socket->incoming changed by async callbacks, must be volatile.
Otherwise for code like:
while (socket->incoming == NULL) {
LWIP_DELAY(100);
}
a compiler may cache it in a register and it will be an infinite loop.
Diffstat (limited to 'extmod/re1.5/dumpcode.c')
0 files changed, 0 insertions, 0 deletions