commit | 12997eb6cd1cb8955e85644c70fa63a34f8ec497 | [log] [tgz] |
---|---|---|
author | Mitch Bradley <wmb@firmworks.com> | Fri Apr 19 14:15:28 2019 -1000 |
committer | Mitch Bradley <wmb@firmworks.com> | Fri Apr 19 14:15:28 2019 -1000 |
tree | b1f9f5e740c735e1ede351b50e097bfb876e44fb | |
parent | dffb7aca84f81a2c8e006eb22c29beb7028ff320 [diff] |
esp8266 - reentrancy for callbacks Callbacks from the network stack and alarm handlers can damage the stacks of foreground applications, because while the inner interpreter is running, the stack pointers are in local variables that are not visible to the callback. The solution is to switch to private stacks during callbacks.
This is Mitch Bradley's CForth implementation.
This version was derived from the version at One Laptop Per Child, then it was improved as follows:
a) Host version now has line editing b) Host version catches exceptions c) key and key? implemented property in host versions for Linux and Windows d) Makefile fragments factored better, and use pattern rules extensively e) Makefiles in build directories simplified