Require in a thread fails

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
SCARD
Prole
Posts: 45
Joined: Tue Sep 04, 2012 12:44 pm

Require in a thread fails

Post 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?
foo0
Prole
Posts: 35
Joined: Sun Apr 27, 2014 10:25 am

Re: Require in a thread fails

Post by foo0 »

It's a long shot, but maybe try to require love.filesystem first.
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Require in a thread fails

Post by slime »

Yeah, in threads you'll need to explicitly require every love module you want to make use of (except for love.thread.)
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests