Make threads and coroutines interruptible in arbitrary multi-threading scenarios

$ luarocks install mtint

This package provides a way to make arbitrary Lua interpreter states (i.e. main
states and couroutines) interruptible from concurrently running threads.
The implementation is independent from the underlying threading
library (e.g. Lanes or lua-llthreads2).

The general principle is to interrupt a Lua state by installing a debug hook
that triggers an error. This can be useful for applications with interactive user
interface when a user wants to abort a long running background task or a user
supplied script that is stuck in an infinite loop.

Versions

scm-0dev1 year ago(revision: 2)1 download
0.3.4-117 days ago1 download
0.3.3-1289 days ago(revision: 3)25 downloads
0.3.2-12 years ago12 downloads
0.3.1-13 years ago23 downloads
0.3.0-13 years ago13 downloads

Dependencies

lua >= 5.1, <= 5.4

Labels

Manifests