issue with love.thread
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: issue with love.thread
You're right. I wish this explanation was in the wiki: -). I think that's essential when dealing with threads.
Re: issue with love.thread
I dunno, to me it's pretty self-evident that if you put more apples in a bin than you take out of it, it will eventually overflow.
Re: issue with love.thread
I think what you need is use Channel:supply instead of Channel:push.
Re: issue with love.thread
Yeah but i come from java, not c. So i thought love2d synchronises the threads itself, because there is no api for it nor anything mentioned in the wiki.
You are right. Thanks!pgimeno wrote: ↑Sun Mar 11, 2018 12:02 am I think what you need is use Channel:supply instead of Channel:push.
Who is online
Users browsing this forum: Bing [Bot] and 144 guests