[uWSGI] Threads in lua ?

Javier Guerra Giraldez javier at guerrag.com
Fri Apr 25 22:44:53 CEST 2014


On Fri, Apr 25, 2014 at 9:54 AM, Alain Meunier <deco33 at hotmail.fr> wrote:
> I read the documentation and read the example codes, but cannot find a way
> to "spawn" functions to run in parallel in lua.
>
> Any hints is greatly welcome !


you can simply call the fork() function and it will fork, duplicating
the Lua State.  not sure how that would fit with uWSGI, but i've done
that in standalone scripts for easy multitasking.


-- 
Javier


More information about the uWSGI mailing list