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

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

Thread Next
From:
Arthur Bergman
Date:
July 27, 2001 05:08
Subject:
Release of threads::shared and threads::queue.
Message ID:
B787263B.2897%arthur@contiller.se

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

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!

-- 
Arthur


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About