develooper Front page | perl.perl5.porters | Postings from July 2001

Re: Release of threads::shared and threads::queue.

Thread Previous | Thread Next
H . Merijn Brand
July 27, 2001 05:31
Re: Release of threads::shared and threads::queue.
Message ID:
On Fri 27 Jul 2001 14:07, Arthur Bergman <> wrote:


> Now working versions of
> threads
> threads::shared
> threads::queue
> are on CPAN.
> shared is implmented using magic for scalars and tie for arrays and hashes,


> the interface if thru a share() function which takes a ref and returns a
> ref. the scalars are pretty fast. References to arrays and hashes work, REFs
> and scalar refs are "untested". Refcnting across interpreters should work,


> but can contain leaks.
> I believe most things that are needed to actually do anything in ithreads in
> perl is now avaiable.
> If you want to experiment I suggest perl 5.7.2 or even better, latest
> snapshot.
> The following Configure option is going to build perl for what you need.
>  -Dusethreads -DMULITPLICITY


Heh, wait, does p5p want me to change the test suite to call all -Dusethreads
configurations *with* -DMULTIPLICITY?

> If you don't run on win32 or digital unix clibs, please try
>  -Dusreentrant


> This makes some of perl functions use reentrant clibs, this is only tested
> on glibc but it would be great if more people could test it!

I'm only following up for the test-suite question, but maybe someone would
have pasted the wrong config flags.

H.Merijn Brand    Amsterdam Perl Mongers (
using perl-5.6.1, 5.7.1 & 628 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify

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