Left here for archival purposes.

User avatar
By kartman
#8646 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?
User avatar
By kartman
#9103 My question is - is it flawed by design? Different chunks are called in different contexts - how is atomicity ensured? Would this explain random panics i observe?