Pasquale Pagano wrote:
>>From the command line, it works very well.
> We are impleminting a very complex digital library system.
> In same cases, we want to start parallel threads in order to minimize the
> wait.
> Let me try to explain with an example.
> 
> 'A' start 4 threads, each of which prepares, and sends a request to another
> server, and then collects its result. When all threads will be terminated,
> 'A' will merge the 4 results.
> 
> Is now more clear?

sure, thanks

your problem is that you use the *old* threads (5005threads, pre-5.6.0), 
whereas mod_perl 2.0 is using ithreads (5.6.0+).

>>my $t2 = new Thread(\&my_thread,'t2');
                ^^^^^^^

do 'perldoc threads' with perl-5.8.0

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to