Hello,
When the use of threads is required, what's the best option I have?
I found:
1 - www.cs.princeton.edu/~diego/professional/
<http://www.cs.princeton.edu/%7Ediego/professional/>*luathread*/
*2 - lua*51*pthread*.*lua*forge.net/ <http://forge.net/>
3 - luaforge.net/projects/ <http://luaforge.net/projects/>*luatask*/
I chose LuaTask because of its simplicity and straightforward use.
Also, I couldn't find an active LuaTask forum or list, sorry for
posting here.
When a thread raises an error, how am I supposed to notice it?
I can use task.isrunning() but where's the error message?
In the simple example below I can never see the message "hello error".
-- t1.lua
require 'task'
task.create't2.lua'
-- t2.lua
error'hello error'
Thanks.