On Sat 03 Oct 2009, Elizabeth Mattijsen wrote:
> > I believe what you're doing should work, but I don't use threads
> > for anything.  I'd probably fork and put the results in a database
> > table or file.
>
> If you like the threads API, you might want to take a look at the  
> "forks" module on CPAN.  It provides the threads API using fork(),
> and   hence does not have many of the problems that native Perl
> ithreads have.

Or Coro. I have never used it with modperl but I think it will work. It 
does not use kernel threads but implements perl stack switches. So, you 
have to watch out to avoid blocking operations. Similar to "win 3.x 
multitasking" or early UNIX threading approaches.

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foert...@gmx.net

Reply via email to