Page 1 of 1
Help with threads + Script directory
Posted: Wed Nov 13, 2013 7:45 pm
by Bicentric
-
Re: Help with threads + Script directory
Posted: Thu Nov 14, 2013 2:06 am
by Azhukar
You have a typo in your for loop inside your thread code.
"for i, 50000 do" should be "for i=1, 50000 do"
To debug your thread use thread:get("error")
Code: Select all
function love.update(dt)
if (thread~=nil) then
local e = thread:get("error")
if (e~=nil) then error(e) end
end
end
Re: Help with threads + Script directory
Posted: Thu Nov 14, 2013 2:33 am
by Bicentric
-
Re: Help with threads + Script directory
Posted: Thu Nov 14, 2013 2:49 am
by Bicentric
-
Re: Help with threads + Script directory
Posted: Thu Nov 14, 2013 2:54 am
by Bicentric
-
Re: Help with threads + Script directory
Posted: Thu Nov 14, 2013 3:10 am
by slime
Yeah, Thread:start only has arguments like that in 0.9.0.