Callbacks
Posted: Sat Jan 31, 2015 3:58 pm
There are a number of callbacks that are done via an interrupt context - gpio trigger and timer alarms for instance. Does this not cause atomicity problems with the lua code? I've noticed that when i get a number of callbacks in operation that lua reports a panic and reboots. Should the callbacks put the event in a queue and have a dispatch method that makes the lua side work cleanly?