Search found 5 matches
- Mon Jul 22, 2013 5:36 pm
- Forum: Support and Development
- Topic: Removing Threads
- Replies: 8
- Views: 4780
Re: Removing Threads
Hmm. If I use return at the bottom of a thread, does it empty the thread's message pool?
- Mon Jul 22, 2013 4:13 pm
- Forum: Support and Development
- Topic: Removing Threads
- Replies: 8
- Views: 4780
Re: Removing Threads
It seems that if I call :wait() on the finished thread and then :start() directly after, it restarts the thread rather than cleaning it up. Is this intended behavior?
- Mon Jul 22, 2013 3:12 pm
- Forum: Support and Development
- Topic: Removing Threads
- Replies: 8
- Views: 4780
Re: Removing Threads
Alright, thanks for clearing that up. It wasn't exactly clear in the wikibartbes wrote:You need to wait on it for it to get cleaned up.
- Mon Jul 22, 2013 3:01 pm
- Forum: Support and Development
- Topic: Removing Threads
- Replies: 8
- Views: 4780
Removing Threads
Hey, I was just wondering if there was some way to remove a thread after it finishes. I want to do this because: (a.) Two threads can't have the same name. Unusable threads are a waste of space. (b.) I can't use thread:start() to restart the thread until 0.9.0 ): (c.) I hate the finished thread's g...
- Sat Jul 20, 2013 10:09 am
- Forum: Support and Development
- Topic: LuaSocket Help
- Replies: 0
- Views: 1527
LuaSocket Help
This isn't exactly related to LOVE, but it pertains to the LuaSocket API packaged with it. Hello. I am trying to convert a python code to Lua code, but the only problem I have is translating Python's Requests API to Lua's LuaSocket API. The Requests API seems to return a nice little table when using...