On Fri, Apr 25, 2014 at 9:54 AM, Alain Meunier <[email protected]> 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 _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
