threads-tbb

 view release on metacpan or  search on metacpan

lib/threads/tbb/refcounter.pod  view on Meta::CPAN


=head1 NAME

threads::tbb::refcounter - inside-out refcounts for XS types

=head1 SYNOPSIS

 use threads::tbb::refcounter qw(Image::Magick);

 # alternately:
 use threads::tbb::refcounter;
 threads::tbb::refcounter->setup("Some::XS::Type");

=head1 DESCRIPTION

This module allows XS modules which were not written with
C<threads::tbb> in mind (but B<are> thread-safe) to be explicitly
marked as passable between threads, without requiring the XS type to



( run in 0.380 second using v1.01-cache-2.11-cpan-beeb90c9504 )