You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by morgoth990 November 16, 2021
I'm trying to limit the execution time calling lua_yield() from the interrupt callback but seems to trigger an exception.
It's possible to yield from the interrupt callback or how can I achieve the same result?
We'll need to look at the patch I suggested internally to make sure it doesn't affect codegen on any compilers negatively as well as document what's allowed and what's not allowed from interrupts (that are somewhat akin to POSIX signals in that very few operations are interrupt-safe).
The text was updated successfully, but these errors were encountered:
Discussed in #208
Originally posted by morgoth990 November 16, 2021
I'm trying to limit the execution time calling lua_yield() from the interrupt callback but seems to trigger an exception.
It's possible to yield from the interrupt callback or how can I achieve the same result?
We'll need to look at the patch I suggested internally to make sure it doesn't affect codegen on any compilers negatively as well as document what's allowed and what's not allowed from interrupts (that are somewhat akin to POSIX signals in that very few operations are interrupt-safe).
The text was updated successfully, but these errors were encountered: