Update: JustSid, please try this updated version. This should work. There was an error in the Löve2d Wiki
https://www.dropbox.com/s/lc63906os89qyby/trAInsported.loveNote though that this will take a long time to load, because it can't find out the number of CPUs and will only use one thread because of it.
It does, thanks a lot for the fix! I'll try the game later today!
About the CPU cores, I guess you can invoke C code, so to get the number of CPUs on Mac OS X you can call
sysctlbyname() with "machdep.cpu.core_count". Or, if you want to know how much concurrency is available, use "machdep.cpu.thread_count"