On Fri, Oct 31, 2008 at 4:14 PM, Jonathan Rockway <[EMAIL PROTECTED]> wrote: > * On Fri, Oct 31 2008, Gabor Szabo wrote: >> Hi, >> >> currently I have this code in Build.PL to check if the perl where Padre >> is being installed is threaded. >> >> use Config; >> if (not $Config{usethreads}) { >> warn "Padre requires a perl built using threads\n"; >> exit 0; >> } > > Probably off topic, but last time I tried Padre, I commented out all the > references to threads (non-threaded perl here) and it worked fine. > Maybe it doesn't really require threads?
Currently it only uses it in the Ack menu option. I think as we introduce more and more long-running processes (e.g. indexing all the pods, running your tests in the background etc) we will need that. I guess we can implement everything with fork but I think - maybe because of my lack of experience in threads - that it will be better to use them than to fork. Id' be glad to hear your opinion too. Gabor