develooper Front page | perl.perl5.porters | Postings from October 2003

Re: Updating Perl to Threaded Breaks applications

Thread Previous | Thread Next
Arthur Bergman
October 25, 2003 08:31
Re: Updating Perl to Threaded Breaks applications
Message ID:

On Saturday, October 25, 2003, at 02:19  pm, Albert Whale wrote:

> I am attempting to update my Perl installation to permit threaded 
> uses.  Specifically, I need this to support the Sendmail::MILTER 
> package.
> My existing Perl applications do not work when the updated Package is 
> installed.
> While it may not be an efficient implementation, how can I install a 
> Threaded Perl package to support the Sendmail::MILTER package while 
> permitting the existing applications to use the currently installed 
> Perl Applcations?


If you are using perl 5.8.1 there should be no difference between 
threaded perl and non threaded perl for normal applications (I assume 
you USE_ITHREADS), if there are they are to be considered bugs and 
should be fixed!

However, if you want to seperate your threaded and non threaded perl 
(there are several reasons for this, relating to speed and 3rd party 
libs), I always compile threaded perl using a different prefix, 
./Configure -Dusethreads -Dprefix=/usr/local/perl/581thr/


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About