Page 1 of 1

Require in a thread fails

Posted: Sun May 18, 2014 9:29 pm
by SCARD
Hi!

I'm testing some threading stuff quite successfully. Starting some threads and sending messages over channels works well.

My problem:
When i require a file the thread says it cannot find the file i want to require.
Is it forbidden to require a file in a thread?

Re: Require in a thread fails

Posted: Sun May 18, 2014 9:44 pm
by foo0
It's a long shot, but maybe try to require love.filesystem first.

Re: Require in a thread fails

Posted: Sun May 18, 2014 10:00 pm
by slime
Yeah, in threads you'll need to explicitly require every love module you want to make use of (except for love.thread.)