|
Hi Robert
lua-llthreads [1] is a Low-Level native threads module for Lua. This module is designed to be a simple wrapper for creating threads from Lua. Each native thread has it's own lua_State object and shares nothing with it's parent thread (the thread that created it). The module only allows parameters to be passed to the child thread when it is created and returned from the child thread to the parent thread only when the parent joins the child thread and the child thread exits.
Preemptive multitasking without memory sharing? It is similar to processes, but within the same OS process, right? Regards, Tomás