Lua in parallel

Questions and information about using Lua scripting with Storyboard

Moderator: jamiev

Lua in parallel

Postby hengheng.xie » Tue Apr 10, 2018 11:13 am

We are trying to create a Lua TCP server, but it will block the UI. We also try the Lua coroutine, but it doesn¡¦t do parallel computing. Is there any suggestion that we could do to use Lua TCP server, without blocking the UI?
hengheng.xie
 
Posts: 1
Joined: Tue Apr 10, 2018 10:51 am

Re: Lua in parallel

Postby TheBestjohn » Wed Jun 27, 2018 8:53 am

Hey! I think you're looking for gre.thread_create(<function>) The Documentation is here: https://cranksoftware.com/cranksoftware ... 6596972768
TheBestjohn
 
Posts: 1
Joined: Tue May 29, 2018 2:34 pm


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 2 guests

cron