Search found 2 matches
- Tue Feb 07, 2017 10:45 pm
- Forum: Support and Development
- Topic: Threads in 0.9.0?
- Replies: 25
- Views: 42738
Re: Threads in 0.9.0?
You're only 1.5 years late to the party… Very true. That being said, in my recent searches I wasn't able to find much else about threads and this post is still linked on the wiki page for threads. I'd also like to point out you could replace your entire first snippet with 'local args = {...}'. That...
- Tue Feb 07, 2017 7:39 pm
- Forum: Support and Development
- Topic: Threads in 0.9.0?
- Replies: 25
- Views: 42738
Re: Threads in 0.9.0?
Posting this for my sake and anyone else who comes looking for this: When passing arguments to Thread:start() you can use the following to capture multiple args into a table for later use. I found this to be useful for passing a varying number of arguments to start(). -- thread.lua -- ### gather arg...