Make threads and coroutines interruptible for the Lua scripting language, see https://github.com/osch/lua-mtint#mtint