Aaron de Windt
Aaron de Windt

Reputation: 17708

There is a type named thread in lua. Does anyone know something of this?

I was reading the lua manual (looking for something) and I found out that there is a type named thread in lua. Of wath I read it represents independent threads of execution and it is used to implement coroutines.

Here is the link to the place I read it.
http://www.lua.org/manual/5.1/manual.html#2.2

How do I use these threads? Are there any good tutorials?
I have googled and had no luck.

Upvotes: 2

Views: 300

Answers (1)

a_m0d
a_m0d

Reputation: 12195

I would advise you to look at the Co-routine tutorial and see if that is helpful for you.

Upvotes: 4

Related Questions