deb_control_files:
- control
- md5sums
deb_fields:
Architecture: all
Depends: perl:any, libload-perl, libthread-serialize-perl
Description: "alternative separate thread implementation of shared variables\n The\
\ standard shared variable scheme used by Perl, is based on tie-ing the\n variable\
\ to some very special dark magic. This dark magic ensures that shared\n variables,\
\ which are copied just as any other variable when a thread is\n started, update\
\ values in all of the threads where they exist as soon as the\n value of a shared\
\ variable is changed.\n .\n The Thread::Tie module is a proof-of-concept implementation\
\ of another approach\n to shared variables. Instead of having shared variables\
\ exist in all the\n threads from which they are accessible, shared variable exist\
\ as \"normal\",\n unshared variables in a separate thread. Only a tied object\
\ exists in each\n thread from which the shared variable is accessible.\n .\n\
\ Through the use of a client-server model, any thread can fetch and/or update\n\
\ variables living in that thread. This client-server functionality is hidden\n\
\ under the hood of tie(). So you could say that one dark magic (the current\n\
\ shared variables implementation) is replaced by another dark magic.\n .\n The\
\ Thread::Tie approach has the following advantages:\n .\n * Memory usage - This\
\ implementation circumvents the memory leak that\n currently (threads::shared\
\ version 0.90) plagues any shared array or shared\n hash access.\n * Tieing\
\ shared variables - Because the current implementation uses tie-ing,\n you\
\ can not tie a shared variable. The same applies for this implementation\n \
\ you might say. However, it is possible to specify a non-standard tie\n implementation\
\ for use within the thread. So with this implementation you\n can tie() a\
\ shared variable. So you could tie a shared hash to a DBM file \xE0\n la dbmopen()\
\ with this module.\n .\n Of course there are disadvantages to this approach:\n\
\ .\n * Pure Perl implementation - This module is currently a pure Perl\n \
\ implementation. This is ok for a proof of concept, but may need re-\n implementation\
\ in pure XS or in Inline::C for production use.\n .\n * Tradeoff between cpu\
\ and memory - This implementation currently uses (much)\n more cpu than the\
\ standard shared variables implementation. Whether this\n would still be true\
\ when re-implemented in XS or Inline::C, remains to be\n seen."
Homepage: https://metacpan.org/release/Thread-Tie
Installed-Size: '79'
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Package: libthread-tie-perl
Priority: optional
Section: perl
Version: 0.15-2
srcpkg_name: libthread-tie-perl
srcpkg_version: 0.15-2