$ luarocks install coutil
coutil provides a set of integrated libraries to support multithreading in Lua;
both cooperatively using coroutines and preemptively by running code on distinct
system threads. It also provides synchronous (no callbacks) and non-blocking
(suspends only the caller) functions for a variety of features: from synchronization
mechanisms like events, channels, and others; to access to system resources like
networking, processes, file system, and more.
Versions
Dependencies
lua >= 5.4
vararg >= 2.1